Link Livesites: diArt - www.diart-berlin.de

2002-09-30 Thread Michael Zehrer

diArt - http://www.diart-berlin.de/ is an online art gallery that
supports the commercial side of the Künstlerförderung Berlin, which
promotes young artists with work contracts.  The artist manufactures one
or several works of art, which are transferred to the Künstlerförderung
Berlin. The Website will help in lending or selling this artwork. The
money from this is used to support the programm and so on.

The Frontend uses:
- Linux + Apache HTTP + Tomcat
- Cocoon 2.0.3

In the backend works:
- Windows 2000
- IBM DB2 7.2
- OS:DRT DMS Server
(http://www.optimal-systems.de/industrie/software/drt.php)

All content  is created in the DMS system which uses the DB2 for data
storage.
Cocoon acts as the view in a MVC framework with a special controller and
businesslogic layer.
All generators are xsp pages, which include the data from the backend
via xml that is stored in the session.
The application uses dynamic html, pdf and vrml output from different
stylesheets.

Many thanks to all who are contributing to Cocoon with code or
knowledge, working with Cocoon is really fun! 


-
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: Install problems WAS3.5.5

2002-09-20 Thread Michael Zehrer

Hi Dan,

add the path to cocoon.xconf (and logkit.xconf) as an servlet parameter,
try an relative path from the webapp directory. As WAS355 doesn't know
anything about WEB-INF directories, put the xconfs in the servlet
directory. So the parameter would be:

name: configurations
value: /../servlets/cocoon.xconf

It is generally a good idea to add all servlet parameters from web.xml
to the servlet... .-)

Contact me for more questions.

Cheers, Michael

Am Don, 2002-09-19 um 18.18 schrieb [EMAIL PROTECTED]:
 Hello,
   I searched the archives, and google, and haven't found a good
 explanation about how to go about getting Cocoon working in Websphere
 3.5.x. I am close I think. I used the WAR file converter in the Admin
 Console, but I get an exception during init of the Cocoon servlet:
 
 javax.servlet.ServletException: Init parameter 'configuration' doesn't name
 an existing resource : /web-inf/cocoon.xconf
 
 I have tried different paths, I tried adding cocoon.xconf as a web
 resource, I added the SimpleFileServlet. Doesn't seem to fix it.
 
 I am considering modifying the servlet to use the real path instead of the
 URI.
 
 Anyone have any pointers or info that can help me out before I go
 re-writting things? Thanks!
 
 Dan Feather
 Sr. Programmer/Analyst
 [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]
-- 
Mit freundlichen Grüßen

Michael Zehrer


OPTIMAL SYSTEMS
Gesellschaft für innovative Computertechnologien mbH
Cicerostraße 26, 10709 Berlin
Tel.:   030 - 8 95 70 80
Fax:030 - 8 95 70 88 88
E-Mail: [EMAIL PROTECTED] 
Web:www.optimal-systems.de, www.epa.de, www.optimal-AS.de


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




Websphere Datasources Cocoon

2002-08-21 Thread Michael Zehrer

Hi List,

does anybody know if I can use datasources created in my Websphere
(3.5.5) container with Cocoon?

Michael

-
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 caching and jsessionid

2002-08-20 Thread Michael Zehrer

Hi List,

after getting xsp caching to work (which is really fun), there is a
problem with pages that include urlrewritten links containing that
jsessionid=, is there any solution fot making these pages
chacheable?

Cheers Michael

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




AW: XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer

But then I would have a cached copy only for each user/session? But I
want a global cache...

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 20. August 2002 14:47
An: [EMAIL PROTECTED]
Betreff: Re: XSP caching and jsessionid


Michael Zehrer wrote:

Hi List,

after getting xsp caching to work (which is really fun), there is a
problem with pages that include urlrewritten links containing that
jsessionid=, is there any solution fot making these pages
chacheable?


Have jsessionid as part of key (or validity - depends on your 
circumstances). Then all cache entries will become invalid once session 
is invalidated.

Vadim


Cheers Michael
  





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




AW: XSP Caching Cinclude

2002-08-13 Thread Michael Zehrer

Hi Vadim,

Yes, but how do i validate against a session attribute? The example
shows just request.getParameter(param), Session.getAttribute gives an
error.

Is there anything I can do about the Cinclude?

Michael

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 12. August 2002 16:40
An: [EMAIL PROTECTED]
Betreff: RE: XSP Caching  Cinclude


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi List,
 
 can someone explain the miracles of XSP caching to me. In my case I
have
 a xsp generator, which includes data from the session, a taglib, and
 some static xml from the Cinclude transformer, I want at leat the
 Cincluded data to be cached.

In XSP, you decide what and how to cache. See cacheable.xsp in examples.

If you want to store several results of this XSP, you generate different
keys. Then, you provide validity for each of these results.

Vadim


 Michael


-
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 Caching Cinclude

2002-08-12 Thread Michael Zehrer

Hi List,

can someone explain the miracles of XSP caching to me. In my case I have
a xsp generator, which includes data from the session, a taglib, and
some static xml from the Cinclude transformer, I want at leat the
Cincluded data to be cached.

Michael

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




AW: attribute and cinclude

2002-08-03 Thread Michael Zehrer

Thank you, is there a cvs tag for 2.0.4-dev?

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Samstag, 3. August 2002 01:36
An: [EMAIL PROTECTED]
Betreff: RE: attribute and cinclude


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi again,
 
 In earlier (2.0.2) versions of Cocoon I constructed the path for
 cinclude like this and it worked:
 
 cinclude:include
 xsp:attribute name=srcsome/static/xml/xsp-session:get-attribute
 name=parm2//xsp-session:get-attribute
 name=parm2//content.xinc/xsp:attribute
 /cinclude:include
 
 in 2.1-dev this gives

Cocoon 2.1-dev doesn't give anything right now (xerces/xalan issues).
However, after replacing xalan/xerces/xml-apis with version from 2.0.3,
the following works ok:

xsp-session:set-attribute name=parm/xsp-session:set-attribute
xsp-session:set-attribute name=parm/xsp-session:set-attribute

textarea cols=80 rows=7
cinclude:include
xsp:attribute name=srcsome/static/xml/xsp-session:get-attribute
name=parm1//xsp-session:get-attribute
name=parm2//content.xinc/xsp:attribute
/cinclude:include
/textarea

(it also works in 2.0.4-dev)


Vadim

 cinclude:include src=pkw/stylesheets/dict/parm1parm2 /
 
 in the resulting xml where the values for parm1 and parm2 are correct
 but the extra slash betwen them and the filename are completly
ignored?
 
 Michael



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




inserting xml with util:include-expr

2002-08-02 Thread Michael Zehrer

Hi List,

In earlier (2.0.2) versions of Cocoon I included a string containing
XML-Data from a session variable into XSPs this way:

util:include-expr
util:exprxsp:expr
xsp-session:get-attribute name=sometext/
/xsp:expr/util:expr
/util:include-expr

in 2.0.3 and recent 2.1-dev from cvs this gives the following error,
whats wrong?

org.apache.cocoon.components.language.LanguageException: Error compiling
search_xml:
ERROR 1
(/opt/WebSphere/AppServer/temp/default_host/AVOS/cocoon-files/org/apache
/cocoon/www/generators/search_xml.java):
...
this.characters();

this.characters();


// start error (lines 376-376)  method includeString(java.lang.Object,
org.apache.avalon.framework.component.ComponentManager,
org.xml.sax.ContentHandler) not found in class
org.apache.cocoon.components.language.markup.xsp.XSPUtil
XSPUtil.includeString(

// end error

(

XSPSessionHelper.getSessionAttribute(session,

...
Line 376, column 14: method includeString(java.lang.Object,
org.apache.avalon.framework.component.ComponentManager,
org.xml.sax.ContentHandler) not found in class
org.apache.cocoon.components.language.markup.xsp.XSPUtil
Line 0, column 0: 
1 error






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




AW: inserting xml with util:include-expr

2002-08-02 Thread Michael Zehrer

Hi Vadim,

that works, thank you.

Michael

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 2. August 2002 14:32
An: [EMAIL PROTECTED]
Betreff: RE: inserting xml with util:include-expr


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi List,
 
 In earlier (2.0.2) versions of Cocoon I included a string containing
 XML-Data from a session variable into XSPs this way:
 
 util:include-expr
 util:exprxsp:expr
 xsp-session:get-attribute name=sometext/
 /xsp:expr/util:expr
 /util:include-expr
 
 in 2.0.3 and recent 2.1-dev from cvs this gives the following error,
 whats wrong?

I think that's new bug. Until it is fixed use following work-around:

util:include-expr
util:exprxsp:expr
String.valueOf(xsp-session:get-attribute name=sometext/)
/xsp:expr/util:expr
/util:include-expr

Or, patch util.xsl (line ~206) to have same.

Vadim


 org.apache.cocoon.components.language.LanguageException: Error
compiling
 search_xml:
 ERROR 1

(/opt/WebSphere/AppServer/temp/default_host/AVOS/cocoon-files/org/apache
 /cocoon/www/generators/search_xml.java):
 ...
 this.characters();
 
 this.characters();
 
 
 // start error (lines 376-376)  method
includeString(java.lang.Object,
 org.apache.avalon.framework.component.ComponentManager,
 org.xml.sax.ContentHandler) not found in class
 org.apache.cocoon.components.language.markup.xsp.XSPUtil
 XSPUtil.includeString(
 
 // end error
 
 (
 
 XSPSessionHelper.getSessionAttribute(session,
 
 ...
 Line 376, column 14: method includeString(java.lang.Object,
 org.apache.avalon.framework.component.ComponentManager,
 org.xml.sax.ContentHandler) not found in class
 org.apache.cocoon.components.language.markup.xsp.XSPUtil
 Line 0, column 0:
 1 error


-
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:attribute and cinclude

2002-08-02 Thread Michael Zehrer

Hi again,

In earlier (2.0.2) versions of Cocoon I constructed the path for
cinclude like this and it worked:

cinclude:include
xsp:attribute name=srcsome/static/xml/xsp-session:get-attribute
name=parm2//xsp-session:get-attribute
name=parm2//content.xinc/xsp:attribute
/cinclude:include

in 2.1-dev this gives

cinclude:include src=pkw/stylesheets/dict/parm1parm2 /

in the resulting xml where the values for parm1 and parm2 are correct
but the extra slash betwen them and the filename are completly ignored?

Michael



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




C2.1-dev Error: clearBuffer(): illegal state-- stream is committed

2002-07-15 Thread Michael Zehrer

Hi List,

using the latest CVS Version I#m getting strange errors from time to
time, which are caused by:

clearBuffer(): illegal state-- stream is committed

any idea? The full trace is after this?


Michael


Root-Fehler1: clearBuffer(): illegal state-- stream is committed 
java.lang.IllegalStateException: clearBuffer(): illegal state-- stream
is committed 
at java.lang.Throwable.fillInStackTrace(Native Method) 
at java.lang.Throwable.fillInStackTrace(Compiled Code) 
at java.lang.Throwable.init(Compiled Code) 
at java.lang.Exception.init(Compiled Code) 
at java.lang.RuntimeException.init(Compiled Code) 
at java.lang.IllegalStateException.init(Compiled Code) 
at
com.ibm.servlet.engine.srt.BufferedServletOutputStream.clearBuffer(Compi
led Code) 
at com.ibm.servlet.engine.srt.SRTServletResponse.reset(Compiled Code) 
at com.ibm.servlet.engine.webapp.HttpServletResponseProxy.reset(Compiled
Code) 
at org.apache.cocoon.servlet.CocoonServlet.service(Compiled Code) 
at javax.servlet.http.HttpServlet.service(Compiled Code) 
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) 
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)

at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled
Code) 
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) 
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compil
ed Code) 
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(Compiled Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code) 
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code) 
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) 
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Comp
iled Code) 
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compile
d Code) 
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compile
d Code) 
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Comp
iled Code) 
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.run(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable
.run(Compiled Code) 
at java.lang.Thread.run(Compiled Code) 


Umlaufender Fehler2: clearBuffer(): illegal state-- stream is committed

javax.servlet.ServletException: clearBuffer(): illegal state-- stream
is committed 
at java.lang.Throwable.fillInStackTrace(Native Method) 
at java.lang.Throwable.fillInStackTrace(Compiled Code) 
at java.lang.Throwable.init(Compiled Code) 
at java.lang.Exception.init(Compiled Code) 
at javax.servlet.ServletException.init(ServletException.java:161) 
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code) 
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)

at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled
Code) 
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code) 
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compil
ed Code) 
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(Compiled Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code) 
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code) 
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code) 
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code) 
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Comp
iled Code) 
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compile
d Code) 
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compile
d Code) 
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Comp
iled Code) 
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(Compiled Code) 
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(Compiled Code) 
at

Profiling anyone?

2002-07-11 Thread Michael Zehrer

Can anyone give me instructions on profiling with the current CVs
Version?

Michael

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. Juli 2002 06:08
An: [EMAIL PROTECTED]
Betreff: RE: Profiling


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi Vadim,
 
 It's 2.1, I configured cocoon.xconf (ucommented profiler/) and
 activated the Profiling pipelines in sitemap.xmap.
 
 Then I constructed a generator that should show me the results, but
all
 I get is:
 
   ?xml version=1.0 encoding=UTF-8 ?
   profilerinfo xmlns=http://apache.org/cocoon/profiler/1.0;
 date=04.07.2002 15:24:51 /
 
 I think there's something wrong with my generator/pipeline for
 profiling, can you give me an example?

No, I can't. I don't work with 2.1 ATM.

Vadim

 
 
 Thanks, Michael
 
 -Ursprüngliche Nachricht-
 Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 3. Juli 2002 18:08
 An: [EMAIL PROTECTED]
 Betreff: RE: Profiling
 
 
  From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
  Hi list,
 
  what do I have to do to turn on profiling in the actual cvs version?
 How
 
 2.1 or 2.0.3? 2.1 has one component less configured in the
cocoon.xconf.
 
 
  ist profiling implemented in general?
 
 Read cocoon.xconf first, it outlines components used. Then modify
 sitemap.xmap to include pipeline which will render results of
profiling.
 
 
 Regards,
 Vadim
 
 
  Cheers, Michael
 
 
 
 -
 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]


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




AW: Profiling anyone?

2002-07-11 Thread Michael Zehrer

Sorry, I missed Reinhard Poetz [[EMAIL PROTECTED]] Mail, which is
indeed very detailed.

Michael

-Ursprüngliche Nachricht-
Von: Michael Zehrer 
Gesendet: Donnerstag, 11. Juli 2002 12:37
An: [EMAIL PROTECTED]
Betreff: Profiling anyone?


Can anyone give me instructions on profiling with the current CVs
Version?

Michael

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. Juli 2002 06:08
An: [EMAIL PROTECTED]
Betreff: RE: Profiling


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi Vadim,
 
 It's 2.1, I configured cocoon.xconf (ucommented profiler/) and
 activated the Profiling pipelines in sitemap.xmap.
 
 Then I constructed a generator that should show me the results, but
all
 I get is:
 
   ?xml version=1.0 encoding=UTF-8 ?
   profilerinfo xmlns=http://apache.org/cocoon/profiler/1.0;
 date=04.07.2002 15:24:51 /
 
 I think there's something wrong with my generator/pipeline for
 profiling, can you give me an example?

No, I can't. I don't work with 2.1 ATM.

Vadim

 
 
 Thanks, Michael
 
 -Ursprüngliche Nachricht-
 Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 3. Juli 2002 18:08
 An: [EMAIL PROTECTED]
 Betreff: RE: Profiling
 
 
  From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
  Hi list,
 
  what do I have to do to turn on profiling in the actual cvs version?
 How
 
 2.1 or 2.0.3? 2.1 has one component less configured in the
cocoon.xconf.
 
 
  ist profiling implemented in general?
 
 Read cocoon.xconf first, it outlines components used. Then modify
 sitemap.xmap to include pipeline which will render results of
profiling.
 
 
 Regards,
 Vadim
 
 
  Cheers, Michael
 
 
 
 -
 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]


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




AW: [Summary] Profiling with Cocoon 2.1

2002-07-11 Thread Michael Zehrer

That works perfectly, these directions should go to the documentation!
Thank you Reinhard! Thanks to anyone involved for the profiling
implementation, it's really usefull.

Michael

-Ursprüngliche Nachricht-
Von: Reinhard Poetz [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 10. Juli 2002 14:22
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: [Summary] Profiling with Cocoon 2.1


Hi Michael,

I use Cocoon2.1dev (I checked it out last week). As it works
successfully
for me I wrote a summary using my notes I was taking during activating
profiling - please try it. If you have problems please respond to
[EMAIL PROTECTED] too)

   - o -

Summary: Profiling with Cocoon 2.1
--

- make sure you use a current Cocoon 2.1 (CVS or nightly build)

- uncommented profiler/ (cocoon.xconf)

- add the necessary pipeline *components* (sitemap.xmap)
  map:pipelines default=caching
map:pipeline name=caching

src=org.apache.cocoon.components.pipeline.impl.CachingProcessingPipelin
e/
map:pipeline name=noncaching

src=org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipe
line
/
map:pipeline name=profile-caching

src=org.apache.cocoon.components.profiler.ProfilingCachingProcessingPip
elin
e/
map:pipeline name=profile-noncaching

src=org.apache.cocoon.components.profiler.ProfilingNonCachingProcessing
Pipe
line/
  /map:pipelines

  (the last two pipline-elements activate profiling)

- set the right type at the pipline you want to watch (sitemap.xmap)
  e.g. map:pipeline type=profile-caching

- add the profiler generator (sitemap.xmap)
  map:generator name=profiler
src=org.apache.cocoon.components.profiler.ProfilerGenerator/

- sitemap.xmap (add a pipeline using the ProfilerGenerator)
  map:match pattern=profiler
map:generate type=profiler/
map:serialize type=xml/
  /map:match

- call
http://your-servlet-container:your-port/path-to-profiler/profiler


Regards,
Reinhard





 -Original Message-
 From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 10, 2002 6:08 AM
 To: [EMAIL PROTECTED]
 Subject: RE: Profiling


  From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
  Hi Vadim,
 
  It's 2.1, I configured cocoon.xconf (ucommented profiler/) and
  activated the Profiling pipelines in sitemap.xmap.
 
  Then I constructed a generator that should show me the results, but
 all
  I get is:
 
?xml version=1.0 encoding=UTF-8 ?
profilerinfo xmlns=http://apache.org/cocoon/profiler/1.0;
  date=04.07.2002 15:24:51 /
 
  I think there's something wrong with my generator/pipeline for
  profiling, can you give me an example?

 No, I can't. I don't work with 2.1 ATM.

 Vadim

 
 
  Thanks, Michael
 
  -Ursprüngliche Nachricht-
  Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
  Gesendet: Mittwoch, 3. Juli 2002 18:08
  An: [EMAIL PROTECTED]
  Betreff: RE: Profiling
 
 
   From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
  
   Hi list,
  
   what do I have to do to turn on profiling in the actual cvs
version?
  How
 
  2.1 or 2.0.3? 2.1 has one component less configured in the
 cocoon.xconf.
 
 
   ist profiling implemented in general?
 
  Read cocoon.xconf first, it outlines components used. Then modify
  sitemap.xmap to include pipeline which will render results of
 profiling.
 
 
  Regards,
  Vadim
 
 
   Cheers, Michael
  
 
 
 
-
  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]



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




AW: Profiling

2002-07-04 Thread Michael Zehrer

Hi Vadim,

It's 2.1, I configured cocoon.xconf (ucommented profiler/) and
activated the Profiling pipelines in sitemap.xmap.

Then I constructed a generator that should show me the results, but all
I get is:

  ?xml version=1.0 encoding=UTF-8 ? 
  profilerinfo xmlns=http://apache.org/cocoon/profiler/1.0;
date=04.07.2002 15:24:51 / 

I think there's something wrong with my generator/pipeline for
profiling, can you give me an example?


Thanks, Michael

-Ursprüngliche Nachricht-
Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 3. Juli 2002 18:08
An: [EMAIL PROTECTED]
Betreff: RE: Profiling


 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 
 Hi list,
 
 what do I have to do to turn on profiling in the actual cvs version?
How

2.1 or 2.0.3? 2.1 has one component less configured in the cocoon.xconf.


 ist profiling implemented in general?

Read cocoon.xconf first, it outlines components used. Then modify
sitemap.xmap to include pipeline which will render results of profiling.


Regards,
Vadim

 
 Cheers, Michael
 


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




Profiling

2002-07-02 Thread Michael Zehrer

Hi list,

what do I have to do to turn on profiling in the actual cvs version? How
ist profiling implemented in general?

Cheers, Michael

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




sitemap.xmap could not be found. (possible context problem)

2002-07-01 Thread Michael Zehrer

Hi list,

I updated my Cocoon Installation to a fresh cvs checkout (1.7.2002) and
now I get the following error:

sitemap.xmap could not be found. (possible context problem)

I deleted all temporary container files, I used cocoon.xconf and the
sitemap.xmap from the cvs version, I just put my pipelines in the
sitemap. I run this with Websphere 3.5.5.

What's wrong?

Cheers, Michael

Full stack:

org.apache.excalibur.source.SourceNotFoundException: sitemap.xmap could
not be found. (possible context problem)
at
org.apache.avalon.framework.CascadingException.init(CascadingException
.java:43)
at
org.apache.excalibur.source.SourceException.init(SourceException.java:
44)
at
org.apache.excalibur.source.SourceNotFoundException.init(SourceNotFoun
dException.java:28)
at
org.apache.cocoon.components.source.impl.ContextSourceFactory.getSource(
ContextSourceFactory.java:147)
at
org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceRes
olverImpl.java:270)
at
org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonCom
ponentManager.java:403)
at
org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnv
ironment.java:431)
at
org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnv
ironment.java:421)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(T
reeProcessor.java:399)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:321)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:309)
at org.apache.cocoon.Cocoon.process(Cocoon.java:585)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
ager.java:626)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
cycleServlet.java:160)
at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
rvlet.java:287)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
ycleServlet.java:105)
at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
a:360)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
tManager.java:775)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
anager.java:701)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
ch(WebAppRequestDispatcher.java:478)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
uestDispatcher.java:234)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
estDispatcher.java:138)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
ker.java:77)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
edInvocation.java:67)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
RequestProcessor.java:155)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
ener.java:300)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
n(SQEventListenerImp.java:230)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEv
entListenerImp.java:104)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
(SQEventSource.java:212)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.notifyService(SQWrapperEventSource.java:353)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
ctRunnable.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)



-
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: sitemap.xmap could not be found. (possible context problem)

2002-07-01 Thread Michael Zehrer

No, There is just one: avalon-excalibur-20020627.jar

-Ursprüngliche Nachricht-
Von: Reinhard Poetz [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 1. Juli 2002 18:12
An: [EMAIL PROTECTED]
Betreff: RE: sitemap.xmap could not be found. (possible context problem)


Make sure that you don't have two excalibur-jars in your lib-directory.

Regards,
Reinhard

 -Original Message-
 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 Sent: Monday, July 01, 2002 5:54 PM
 To: Cocoon-Users (E-Mail)
 Subject: sitemap.xmap could not be found. (possible context problem)
 
 
 Hi list,
 
 I updated my Cocoon Installation to a fresh cvs checkout (1.7.2002)
and
 now I get the following error:
 
 sitemap.xmap could not be found. (possible context problem)
 
 I deleted all temporary container files, I used cocoon.xconf and the
 sitemap.xmap from the cvs version, I just put my pipelines in the
 sitemap. I run this with Websphere 3.5.5.
 
 What's wrong?
 
 Cheers, Michael
 
 Full stack:
 
 org.apache.excalibur.source.SourceNotFoundException: sitemap.xmap
could
 not be found. (possible context problem)
   at

org.apache.avalon.framework.CascadingException.init(CascadingException
 .java:43)
   at

org.apache.excalibur.source.SourceException.init(SourceException.java:
 44)
   at

org.apache.excalibur.source.SourceNotFoundException.init(SourceNotFoun
 dException.java:28)
   at

org.apache.cocoon.components.source.impl.ContextSourceFactory.getSource(
 ContextSourceFactory.java:147)
   at

org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceRes
 olverImpl.java:270)
   at

org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonCom
 ponentManager.java:403)
   at

org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnv
 ironment.java:431)
   at

org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnv
 ironment.java:421)
   at

org.apache.cocoon.components.treeprocessor.TreeProcessor.setupRootNode(T
 reeProcessor.java:399)
   at

org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
 cessor.java:321)
   at

org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
 cessor.java:309)
   at org.apache.cocoon.Cocoon.process(Cocoon.java:585)
   at

org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
   at

com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletMan
 ager.java:626)
   at

com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLife
 cycleServlet.java:160)
   at

com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleSe
 rvlet.java:287)
   at

com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifec
 ycleServlet.java:105)
   at

com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.jav
 a:360)
   at

com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Servle
 tManager.java:775)
   at

com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletM
 anager.java:701)
   at

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispat
 ch(WebAppRequestDispatcher.java:478)
   at

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppReq
 uestDispatcher.java:234)
   at

com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequ
 estDispatcher.java:138)
   at

com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvo
 ker.java:77)
   at

com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Cach
 edInvocation.java:67)
   at

com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Servlet
 RequestProcessor.java:155)
   at

com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEList
 ener.java:300)
   at

com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.ru
 n(SQEventListenerImp.java:230)
   at

com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEv
 entListenerImp.java:104)
   at

com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent
 (SQEventSource.java:212)
   at

com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
 ctRunnable.notifyService(SQWrapperEventSource.java:353)
   at

com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$Sele
 ctRunnable.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)
 
 
 
 -
 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

AW: Help with install in WebSphere

2002-06-12 Thread Michael Zehrer

We have developed with Cocoon 1.x and 2.x and deployed our projects with
no (cocoon related) problems on Websphere 3.5.5, we did this for a very
large company. The main problem with the acceptance for Cocoon in these
projects was (and still is) always the performance. I miss a detailed
description that puts all the knobs together that can be turned to scale
Cocoon for a real high-load project.

If you need any help with WAS 3.5.x, I will answer your questions.


Michael

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 11. Juni 2002 21:13
An: [EMAIL PROTECTED]
Betreff: Re: Help with install in WebSphere



J.

Running a current version of WebSphere( 4.0.2 ).  I already have several
web projects working and deployed from WSAD to WS 4.0.

I am just not sure why the bin works and the build war fails?  It comes
back with internal server errors, that are specific to Cocoon.

Was hoping someone else had gone through this.  I think this shows the
lack
of large companies that have implemented Cocoon, which is good for us
Developers and Architects that are implementing it now.

The binary distribution does work for those who care in WSAD 4.0.2 Test
Environment.
So your saying there a chance.

Thanks,
Adam


 

  J.Pietschmann

  [EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  e   cc:

   Subject:  Re: Help with
install in WebSphere
  06/11/02 01:27 PM

  Please respond to

  cocoon-users

 

 





[EMAIL PROTECTED] wrote:
 Has anyone had any practical experience using Cocoon in a WebSphere
 environment, including WebSphere Application Developer?

I got Cocoon 2.0.2 more or less running on a somewhat patched 3.5.4.
Your problem looks like you are also using 3.5.x. If you can, upgrade
to 4.x.

J.Pietschmann


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




C2 Performance under high load

2002-05-28 Thread Michael Zehrer

Hi Cocooners,

preparing for a livesite build with C2 I'm looking for tips that improve
C2's (besides external help from proxys and load balancers) performance
under high load, say 1500 - 2000 concurrent users.

Any experiences here?

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




How to use pools

2002-05-24 Thread Michael Zehrer

Hi List,

How can I use pool settings for components? What is the background
behind this?

What settings for pool-grow, pool-max, pool-min make sense in different
enviroments?

CHeers, Michael

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

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




I18n Performance

2002-05-21 Thread Michael Zehrer

Hi List,

I experience very bad performance under high load using the I18n
Transformer, are there any tips for performance improving oder anybody
know about an alternative?

Cheers, Michael

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

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




RE: I18n Performance

2002-05-21 Thread Michael Zehrer

I'm using I18n just for simple translations, no number, date,
currency formatting and just one substitution. My log level is already
ERROR.
So nothing real special here. If I take out the I18n transformation,
everything is quite ok, if it's in the cpu load is very high after a
little while and pipeline processing takes very long.

The machine is a Sun Netra X1 (500Mhz/2GB RAM)

Michael

-Ursprüngliche Nachricht-
Von: Konstantin Piroumian [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 21. Mai 2002 17:26
An: [EMAIL PROTECTED]
Betreff: Re: I18n Performance


i18n transformer output too much data into logs, so changing the log
level
from DEBUG to something else should help a lot.

Can you provide more info on what is the cause? Are you using number,
date,
currency formatting? Are you using param substitution? The more info
you'll
provide the more we would help you.

Konstantin

- Original Message -
From: Michael Zehrer [EMAIL PROTECTED]
To: Cocoon-Users (E-Mail) [EMAIL PROTECTED]
Sent: Tuesday, May 21, 2002 7:18 PM
Subject: I18n Performance


Hi List,

I experience very bad performance under high load using the I18n
Transformer, are there any tips for performance improving oder anybody
know about an alternative?

Cheers, Michael

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

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


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

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


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

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




Re: I18n Performance

2002-05-21 Thread Michael Zehrer

How would I do this?

Michael

Am Die, 2002-05-21 um 19.02 schrieb Peter Royal:
 On Tuesday 21 May 2002 11:50 am, Michael Zehrer wrote:
  I'm using I18n just for simple translations, no number, date,
  currency formatting and just one substitution. My log level is already
  ERROR.
  So nothing real special here. If I take out the I18n transformation,
  everything is quite ok, if it's in the cpu load is very high after a
  little while and pipeline processing takes very long.
 
 It is very slow. I would recommend optimizing your pipelines for cachability 
 to the I18nTransformer is not executed on each request. 
 -pete
 
 -- 
 peter royal - [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]
 

-- 
Mit freundlichen Grüßen

Michael Zehrer


OPTIMAL SYSTEMS
Gesellschaft für innovative Computertechnologien mbH
Cicerostraße 26, 10709 Berlin
Tel.:   030 - 8 95 70 80
Fax:030 - 8 95 70 88 88
E-Mail: [EMAIL PROTECTED] 
Web:www.optimal-systems.de, www.epa.de, www.optimal-AS.de


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

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




RE: Error Handling

2002-05-15 Thread Michael Zehrer

And what about errors outside of map:pipeline/?

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


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

Put in every map:pipeline/:

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

And develop error2static-html-page.xsl.


Vadim


 
 Cheers, Michael
 


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

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


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

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




Error Handling

2002-05-14 Thread Michael Zehrer

Hi List,

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

Cheers, Michael

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

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




AW: AW: cocoon Websphere 3.55

2002-03-26 Thread Michael Zehrer

Hi Michael.

There are install instructions for Cocoon 1 on the website
http://xml.apache.org/cocoon1/install.html

Do you have all jar files from the Cocoon 2.0.1 install in your
classpath? It looks like you missed some...

Cheers, Michael

-Ursprüngliche Nachricht-
Von: Souillard M Ext DvSI/SICoR
[mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 08:29
An: [EMAIL PROTECTED]
Betreff: Re: AW: cocoon  Websphere 3.55



I deployed Cocoon 2.0.1 (the war file) within WAS3.55, and added the jar
file in the classpath of my application server containing the cocoon web
application, and I got the same error (errors included bellow)

Any other tip / idea ? ?

Does anybody work with WAS3.5x and Cocoon 1.x ?

Michael.


*** STDERR
Logging Error: Could not set up Cocoon Logger, will use screen instead
org.xml.sax.SAXParseException: File  not found.
 at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1219)
 at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(
DefaultEntityHandler.java:501)
 at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
 at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
ild(DefaultConfigurationBuilder.java:187)
 at
org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
ild(DefaultConfigurationBuilder.java:166)
 at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:58
3)
 at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
 at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:622)

*** STDOUT
[02.03.25 11:57:56:410 GMT+00:00] d5dc3a6f ServletHost   A Loading
group: cocoon
[02.03.25 11:57:58:103 GMT+00:00] d5dc3a6f ServletInstan A SRVE0048I:
Loading servlet: Cocoon2
[02.03.25 11:57:58:183 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: Cocoon2: init
[02.03.25 11:58:00:376 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:376   []
(Unknown-URI) Unknown-thread/LogKitLogger: Logger for category access
not defined in configuration. New Logger created and returned

[02.03.25 11:58:00:416 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:416   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: getRealPath for /:
D:\WebSphere\AppServer\hosts\default_host\cocoon\web

[02.03.25 11:58:00:446 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:446   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: URL for Root:
file:/D:/WebSphere/AppServer/hosts/default_host/cocoon/web/

[02.03.25 11:58:00:476 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:476   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: work-directory was not set -
defaulting to
d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files

[02.03.25 11:58:00:697 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:697   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: upload-directory was not set
- defaulting to
d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files\upload-dir

[02.03.25 11:58:00:727 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:727   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: cache-directory was not set
- defaulting to
d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files\cache-dir

[02.03.25 11:58:00:757 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
[Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:757   [access  ]
(Unknown-URI) Unknown-thread/CocoonServlet: Using configuration file:
/cocoon.xconf

[02.03.25 11:58:00:787 GMT+00:00] d5dc3a6f ServletInstan X Uncaught
init() exception thrown by servlet {0}: {1}
  Cocoon2
  javax.servlet.ServletException
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:635)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eServlet.java:102)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
95)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)




Michael Zehrer a écrit :
 
 Hi Michael,
 
 with Cocoon 2.0.1+ you can use the import WAR wizard in WAS 3.5.5,
 additonally you only have to put all jar-files in the classpath
argument
 of the application server (-classpath foo.jar;bar.jar etc)
 
 Then it just works...
 
 Cheers, Michael
 
 -Ursprüngliche Nachricht-
 Von: Souillard M Ext DvSI/SICoR
 [mailto:[EMAIL PROTECTED]]
 Gesendet: Montag, 25. März 2002 12:59
 An: Cocoon User-List
 Betreff: cocoon  Websphere 3.55

Turning XSPs into Generators

2002-03-26 Thread Michael Zehrer

Hi list,

reading the Performance Guide Draft, it sems to me that turning XSPs
into Generators is a good idea, is there some general way how to do
this? Any tips, templates?

Cheers, Michael

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

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




AW: cocoon Websphere 3.55

2002-03-26 Thread Michael Zehrer
  ]
 (Unknown-URI) Unknown-thread/CocoonServlet: URL for Root:
 file:/D:/WebSphere/AppServer/hosts/default_host/cocoon/web/
 
 [02.03.25 11:58:00:476 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:476   [access  ]
 (Unknown-URI) Unknown-thread/CocoonServlet: work-directory was not set
-
 defaulting to
 d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files
 
 [02.03.25 11:58:00:697 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:697   [access  ]
 (Unknown-URI) Unknown-thread/CocoonServlet: upload-directory was not
set
 - defaulting to

d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files\upload-dir
 
 [02.03.25 11:58:00:727 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:727   [access  ]
 (Unknown-URI) Unknown-thread/CocoonServlet: cache-directory was not
set
 - defaulting to
 d:\WebSphere\AppServer\temp\default_host\cocoon\cocoon-files\cache-dir
 
 [02.03.25 11:58:00:757 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:757   [access  ]
 (Unknown-URI) Unknown-thread/CocoonServlet: Using configuration file:
 /cocoon.xconf
 
 [02.03.25 11:58:00:787 GMT+00:00] d5dc3a6f ServletInstan X Uncaught
 init() exception thrown by servlet {0}: {1}
   Cocoon2
   javax.servlet.ServletException
 at

com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
 r.java:635)
 at

com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
 leServlet.java:136)
 at

com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
 cycleServlet.java:244)
 at

com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
 eServlet.java:102)
 at

com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
 95)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 
 Michael Zehrer a écrit :
 
  Hi Michael,
 
  with Cocoon 2.0.1+ you can use the import WAR wizard in WAS 3.5.5,
  additonally you only have to put all jar-files in the classpath
 argument
  of the application server (-classpath foo.jar;bar.jar etc)
 
  Then it just works...
 
  Cheers, Michael
 
  -Ursprüngliche Nachricht-
  Von: Souillard M Ext DvSI/SICoR
  [mailto:[EMAIL PROTECTED]]
  Gesendet: Montag, 25. März 2002 12:59
  An: Cocoon User-List
  Betreff: cocoon  Websphere 3.55
 
  Hi to all cocoon users,
 
  I face a big problem with cocoon and Websphere 3.55 since I tried
  several versions of cocoon (1.7.4, 1.8.2, 2.0.1) without success.
  WAS 3.55 is installed on NT SP6a, with IPlanet 4 SP6.
 
  I describe the different tests I made, in this mail.
 
  Thanks in advance for any help ...
 
  Michael.
 
  *
  With Cocoon 1.7.4 :
  --
  - I put the library in my application server classpath
  (xerces_1_0_3.jar, xalan_1_0_1.jar, fop_0_12_1.jar, cocoon.jar)
  - I defined a cocoon servlet in my web application :
 servlet name=cocoon action=update
description/description
codeorg.apache.cocoon.Cocoon/code
init-parameters
  parameter name=properties
  value=d:\users\prodx\03p\lib\cocoon\1.7.4\cocoon.properties/
/init-parameters
load-at-startuptrue/load-at-startup
debug-modefalse/debug-mode
uri-paths
  uri value=*.xml/
/uri-paths
enabledtrue/enabled
  /servlet
  - and I got the following error trying to get
  http://localhost/cocoon-samples/hello/hello-page.xml
  ==
  Cocoon 1.7.4
  Unable to open resource:
  d:\users\prodx\03p\lib\cocoon\1.7.4\cocoon.properties
  java.lang.NullPointerException
  at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
  at
 

com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
  r.java:622)
  at
 

com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
  leServlet.java:136)
  at
 

com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
  cycleServlet.java:244)
  at
 

com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
  eServlet.java:102)
  at
 

com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
  95)
  at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
 
  *
  With Cocoon 1.8.2 :
  --
  - I put the library in my application server classpath (bsf.jar,
  bsfengines.jar, turbine-pool.jar, xerces_1_2.jar, xalan_1_2_D02.jar,
  fop_0_15_0.jar, tools.jar, cocoon.jar)
  - I defined a cocoon web application and a cocoon servlet in it :
web-application name=cocoon action=update
   description/description
 
 

document-rootd:\users\prodx\03p\lib\cocoon\1.8.2\samples/document-roo
  t
   classpath
 path value=d:\users\prodx\03p\lib\cocoon\1.8.2

AW: cocoon Websphere 3.55

2002-03-26 Thread Michael Zehrer

and be sure that your Servlet Engine ist in full servlet2.2/JSP1.1
compliance mode...

-Ursprüngliche Nachricht-
Von: Michael Zehrer 
Gesendet: Dienstag, 26. März 2002 12:19
An: [EMAIL PROTECTED]
Betreff: AW: cocoon  Websphere 3.55


Hi Michael,

try defining the properties param as a relativ unix-style path, where
your current directory is the web directory (like
../servlets/cocoon.properties)

Michael

-Ursprüngliche Nachricht-
Von: Souillard M Ext DvSI/SICoR
[mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. März 2002 11:35
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: cocoon  Websphere 3.55



 There are install instructions for Cocoon 1 on the website
 http://xml.apache.org/cocoon1/install.html

Yes, I already used these instructions, with and without the properties
param to indicate where to find the cocoon.properties file. But I have
the following problems (of course I've checked all the paths) :


--
- I put the library in my application server classpath (bsf.jar,
bsfengines.jar, turbine-pool.jar, xerces_1_2.jar, xalan_1_2_D02.jar,
fop_0_15_0.jar, tools.jar, cocoon.jar)
- I defined a cocoon web application and a cocoon servlet in it with the
properties param :
- and I got the following error trying to get
http://localhost/cocoon/index.xml
==
Cocoon 1.8.2
Unable to open resource:
d:\users\prodx\03p\lib\cocoon\1.8.2\cocoon.properties
 java.lang.NullPointerException
 at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
 at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:622)
 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
 at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)

- I also tried without properties param and I got :
http://localhost/cocoon/index.xml
==
A recursive error was detected.
Original Error:
 Error Message: Server caught unhandled exception from servlet [cocoon]:
 null
 Error Code: 500
 Target Servlet: cocoon
 Error Stack:
 Root Error-1:
 java.lang.NullPointerException
  at org.apache.cocoon.Utils.getStackTraceAsString(Utils.java:325)
  at org.apache.cocoon.Frontend.error(Frontend.java:89)
  at org.apache.cocoon.Cocoon.service(Cocoon.java:172)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


 Do you have all jar files from the Cocoon 2.0.1 install in your
 classpath? It looks like you missed some...

I made a listing of all the jar file under cocoon/servlet, and put them
in the classpath of my server application ... so I have all the jar
files.

Any other idea ?

Do you have Cocoon running on WAS3.5x ?
If yes, could you export your WAS configuration and send it to me by
mail ...

thanx,
Michael.


 Cheers, Michael
 
 -Ursprüngliche Nachricht-
 Von: Souillard M Ext DvSI/SICoR
 [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 26. März 2002 08:29
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: cocoon  Websphere 3.55
 
 I deployed Cocoon 2.0.1 (the war file) within WAS3.55, and added the
jar
 file in the classpath of my application server containing the cocoon
web
 application, and I got the same error (errors included bellow)
 
 Any other tip / idea ? ?
 
 Does anybody work with WAS3.5x and Cocoon 1.x ?
 
 Michael.
 
 *** STDERR
 Logging Error: Could not set up Cocoon Logger, will use screen instead
 org.xml.sax.SAXParseException: File  not found.
  at
 org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1219)
  at

org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(
 DefaultEntityHandler.java:501)
  at

org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
  at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
  at

org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
 ild(DefaultConfigurationBuilder.java:187)
  at

org.apache.avalon.framework.configuration.DefaultConfigurationBuilder.bu
 ild(DefaultConfigurationBuilder.java:166)
  at

org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:58
 3)
  at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
  at

com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
 r.java:622)
 
 *** STDOUT
 [02.03.25 11:57:56:410 GMT+00:00] d5dc3a6f ServletHost   A Loading
 group: cocoon
 [02.03.25 11:57:58:103 GMT+00:00] d5dc3a6f ServletInstan A SRVE0048I:
 Loading servlet: Cocoon2
 [02.03.25 11:57:58:183 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: Cocoon2: init
 [02.03.25 11:58:00:376 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:376   []
 (Unknown-URI) Unknown-thread/LogKitLogger: Logger for category access
 not defined in configuration. New Logger created and returned
 
 [02.03.25 11:58:00:416 GMT+00:00] d5dc3a6f WebGroup  A SRVE0091I:
 [Servlet LOG]: DEBUG   (2002-03-25) 11:58.00:416   [access  ]
 (Unknown

AW: cocoon Websphere 3.55

2002-03-25 Thread Michael Zehrer

Hi Michael,

with Cocoon 2.0.1+ you can use the import WAR wizard in WAS 3.5.5,
additonally you only have to put all jar-files in the classpath argument
of the application server (-classpath foo.jar;bar.jar etc)

Then it just works...

Cheers, Michael

-Ursprüngliche Nachricht-
Von: Souillard M Ext DvSI/SICoR
[mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 25. März 2002 12:59
An: Cocoon User-List
Betreff: cocoon  Websphere 3.55


Hi to all cocoon users,

I face a big problem with cocoon and Websphere 3.55 since I tried
several versions of cocoon (1.7.4, 1.8.2, 2.0.1) without success.
WAS 3.55 is installed on NT SP6a, with IPlanet 4 SP6.

I describe the different tests I made, in this mail.

Thanks in advance for any help ...

Michael.


*
With Cocoon 1.7.4 :
--
- I put the library in my application server classpath
(xerces_1_0_3.jar, xalan_1_0_1.jar, fop_0_12_1.jar, cocoon.jar)
- I defined a cocoon servlet in my web application :
   servlet name=cocoon action=update
  description/description
  codeorg.apache.cocoon.Cocoon/code
  init-parameters
parameter name=properties
value=d:\users\prodx\03p\lib\cocoon\1.7.4\cocoon.properties/
  /init-parameters
  load-at-startuptrue/load-at-startup
  debug-modefalse/debug-mode
  uri-paths
uri value=*.xml/
  /uri-paths
  enabledtrue/enabled
/servlet
- and I got the following error trying to get
http://localhost/cocoon-samples/hello/hello-page.xml
==
Cocoon 1.7.4
Unable to open resource:
d:\users\prodx\03p\lib\cocoon\1.7.4\cocoon.properties
java.lang.NullPointerException
at org.apache.cocoon.Cocoon.init(Cocoon.java:123)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:622)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eServlet.java:102)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
95)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)


*
With Cocoon 1.8.2 :
--
- I put the library in my application server classpath (bsf.jar,
bsfengines.jar, turbine-pool.jar, xerces_1_2.jar, xalan_1_2_D02.jar,
fop_0_15_0.jar, tools.jar, cocoon.jar)
- I defined a cocoon web application and a cocoon servlet in it :
  web-application name=cocoon action=update
 description/description

document-rootd:\users\prodx\03p\lib\cocoon\1.8.2\samples/document-roo
t
 classpath
   path value=d:\users\prodx\03p\lib\cocoon\1.8.2\samples/
 /classpath
 error-page/error-page
 session-config
   session-timeout0/session-timeout
 /session-config
 welcome-file-list/
 filter-list/
 group-attributes/
 auto-reloadtrue/auto-reload
 reload-interval9/reload-interval
 enabledtrue/enabled
 root-urihost_edeal/cocoon/root-uri
 shared-contextfalse/shared-context

shared-context-jndi-nameSrdSrvltCtxHome/shared-context-jndi-name
 servlet name=cocoon action=update
   description/description
   codeorg.apache.cocoon.Cocoon/code
   init-parameters
 parameter name=properties
value=d:\users\prodx\03p\lib\cocoon\1.8.2\cocoon.properties/
   /init-parameters
   load-at-startuptrue/load-at-startup
   debug-modefalse/debug-mode
   uri-paths
 uri value=//
   /uri-paths
   enabledtrue/enabled
 /servlet
   /web-application

- and I got the following error trying to get
http://localhost/cocoon/index.xml
==
Cocoon 1.8.2
Unable to open resource:
d:\users\prodx\03p\lib\cocoon\1.8.2\cocoon.properties
java.lang.NullPointerException
at org.apache.cocoon.Cocoon.init(Cocoon.java:131)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:622)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eServlet.java:102)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
95)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)

- I also tried without properties param and I got :
http://localhost/cocoon/index.xml
==
A recursive error was detected.
The server cannot use specified error page. Please check the application
error-path.
Original Error: 
Error Message: Server caught unhandled exception from servlet [cocoon]:
null
Error Code: 500
Target Servlet: cocoon
Error Stack: 
Root Error-1: 
java.lang.NullPointerException 
 at 

AW: AW: SVG Transparency

2002-03-19 Thread Michael Zehrer

Hi,

maybe my question was to svg specific. Does the svg2png serializer can
make images with transparent background? And what do I have to define in
my svg to do this?

Michael

-Ursprüngliche Nachricht-
Von: Derek Hohls [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 08:02
An: [EMAIL PROTECTED]
Betreff: Re: AW: SVG Transparency


Michael

There's an example on SVG clipping (which may be useful?)
at Adobe:

http://www.adobe.com/svg/basics/jpgs.html

Derek

 [EMAIL PROTECTED] 18/03/2002 05:50:04 
Hi Chris,

thanks for the link, but excuse me this is a little bit too complex.
Can
you explain the concept?


Cheers Michael

-Ursprüngliche Nachricht-
Von: Chris Newland [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 18. März 2002 16:41
An: [EMAIL PROTECTED] 
Betreff: RE: SVG Transparency


http://www.w3.org/TR/SVG/masking.html 

HTH,

Chris

 -Original Message-
 From: Michael Zehrer [mailto:[EMAIL PROTECTED]] 
 Sent: 18 March 2002 15:24
 To: Cocoon-Users (E-Mail)
 Subject: SVG Transparency
 
 
 Hi list,
 
 maybe a little offtopic, but how can I have svg images with
transparent
 background in Cocoon?
 
 Cheers, Michael
 
 

-
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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

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


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

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


-
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: SVG Transparency

2002-03-19 Thread Michael Zehrer

Hi Sim,

But I still see a white background with this:

svg xml:space=preserve width=6px height=6px
descCorner of menu item/desc
path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill=black
transform=rotate(0 3 3)/
/svg 

Michael

-Ursprüngliche Nachricht-
Von: Simeon Walker [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 13:11
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: SVG Transparency


ok, below is the stylesheet I use to generate curved corners menu items,
boxes etc on my website. If the $fg parameter is passed then a filled
rectangle of that colour is drawn, if not it's transparent.

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

xsl:param name=a select=0/
xsl:param name=bg select=white/
xsl:param name=fg select=red/

xsl:template match=something
 svg xml:space=preserve width=6px height=6px
 descCorner of menu item/desc
 xsl:if test=string($fg)
 rect width=6 height=6 fill={$fg}/
 /xsl:if
 path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill={$bg}
transform=rotate({$a} 3 3)/
 /svg
/xsl:template

/xsl:stylesheet

The actual svg code on its own would look something like this:

svg xml:space=preserve width=6px height=6px
descCorner of menu item/desc
rect width=6 height=6 fill=green/
path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill=white
transform=rotate(0 3 3)/
/svg

Omitting the rect ../ means it's transparent.

Ignore the fact that it *looks* like I have my fg and bg mixed up...
(they are referring to menu colours, not the svg itself)

Sim

Michael Zehrer wrote:
 Hi Sim,
 
 can you give an example?
 
 Michael
 
 -Ursprüngliche Nachricht-
 Von: Simeon Walker [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 19. März 2002 10:42
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: AW: SVG Transparency
 
 
 I have found that if I don't draw over the whole area of the svg then
 bit where I don't draw will be transparent. If I want a background
 colour
 then I start by drawing a filled box. There may be other ways - I'm
just
 starting with SVG's.
 
 Sim
 
 Michael Zehrer wrote:
 
Hi,

maybe my question was to svg specific. Does the svg2png serializer can
make images with transparent background? And what do I have to define
 
 in
 
my svg to do this?

Michael

-Ursprüngliche Nachricht-
Von: Derek Hohls [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 08:02
An: [EMAIL PROTECTED]
Betreff: Re: AW: SVG Transparency


Michael

There's an example on SVG clipping (which may be useful?)
at Adobe:

http://www.adobe.com/svg/basics/jpgs.html

Derek



[EMAIL PROTECTED] 18/03/2002 05:50:04 

Hi Chris,

thanks for the link, but excuse me this is a little bit too complex.
Can
you explain the concept?


Cheers Michael

-Ursprüngliche Nachricht-
Von: Chris Newland [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 18. März 2002 16:41
An: [EMAIL PROTECTED] 
Betreff: RE: SVG Transparency


http://www.w3.org/TR/SVG/masking.html 

HTH,

Chris



-Original Message-
From: Michael Zehrer [mailto:[EMAIL PROTECTED]] 
Sent: 18 March 2002 15:24
To: Cocoon-Users (E-Mail)
Subject: SVG Transparency


Hi list,

maybe a little offtopic, but how can I have svg images with

transparent


background in Cocoon?

Cheers, Michael




-


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

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



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

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


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

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


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

 
 


-- 
Simeon Walker,  email: [EMAIL PROTECTED]
School of Biological Sciences,  phone: +44 (0)1248 383702
University of Wales, Bangor,fax: +44

RE: SVG Transparency (GIF Serializer?)

2002-03-19 Thread Michael Zehrer

Ahh... that's the solution, I (must) use IE6, there is no PNG
transparency, but when I use Mozilla I have transparency. Too sad that
nearly 85% of all WWW users have IE5/6...

After all I think there is no Serializer for those evil GIFs??

Michael

-Ursprüngliche Nachricht-
Von: Simeon Walker [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 15:05
An: [EMAIL PROTECTED]
Betreff: Re: SVG Transparency


This may be a silly question but what are you usig to view
the generated png's? Mozilla shows transparency ok but
Netscape 4.x and maybe others won't.

Sim

Michael Zehrer wrote:
 Hi Sim,
 
 But I still see a white background with this:
 
 svg xml:space=preserve width=6px height=6px
   descCorner of menu item/desc
   path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill=black
 transform=rotate(0 3 3)/
 /svg 
 
 Michael
 
 -Ursprüngliche Nachricht-
 Von: Simeon Walker [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 19. März 2002 13:11
 An: [EMAIL PROTECTED]
 Betreff: Re: AW: AW: AW: SVG Transparency
 
 
 ok, below is the stylesheet I use to generate curved corners menu
items,
 boxes etc on my website. If the $fg parameter is passed then a filled
 rectangle of that colour is drawn, if not it's transparent.
 
 ?xml version=1.0?
 xsl:stylesheet version=1.0
 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
 
 xsl:param name=a select=0/
 xsl:param name=bg select=white/
 xsl:param name=fg select=red/
 
 xsl:template match=something
  svg xml:space=preserve width=6px height=6px
  descCorner of menu item/desc
  xsl:if test=string($fg)
  rect width=6 height=6 fill={$fg}/
  /xsl:if
  path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill={$bg}
 transform=rotate({$a} 3 3)/
  /svg
 /xsl:template
 
 /xsl:stylesheet
 
 The actual svg code on its own would look something like this:
 
 svg xml:space=preserve width=6px height=6px
   descCorner of menu item/desc
   rect width=6 height=6 fill=green/
   path d=M0,0 v6 a6,6 0 0,1 6,-6 z fill=white
 transform=rotate(0 3 3)/
 /svg
 
 Omitting the rect ../ means it's transparent.
 
 Ignore the fact that it *looks* like I have my fg and bg mixed up...
 (they are referring to menu colours, not the svg itself)
 
 Sim
 
 Michael Zehrer wrote:
 
Hi Sim,

can you give an example?

Michael

-Ursprüngliche Nachricht-
Von: Simeon Walker [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 10:42
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: SVG Transparency


I have found that if I don't draw over the whole area of the svg then
bit where I don't draw will be transparent. If I want a background
colour
then I start by drawing a filled box. There may be other ways - I'm
 
 just
 
starting with SVG's.

Sim

Michael Zehrer wrote:


Hi,

maybe my question was to svg specific. Does the svg2png serializer
can
make images with transparent background? And what do I have to define

in


my svg to do this?

Michael

-Ursprüngliche Nachricht-
Von: Derek Hohls [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 19. März 2002 08:02
An: [EMAIL PROTECTED]
Betreff: Re: AW: SVG Transparency


Michael

There's an example on SVG clipping (which may be useful?)
at Adobe:

http://www.adobe.com/svg/basics/jpgs.html

Derek




[EMAIL PROTECTED] 18/03/2002 05:50:04 

Hi Chris,

thanks for the link, but excuse me this is a little bit too complex.
Can
you explain the concept?


Cheers Michael

-Ursprüngliche Nachricht-
Von: Chris Newland [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 18. März 2002 16:41
An: [EMAIL PROTECTED] 
Betreff: RE: SVG Transparency


http://www.w3.org/TR/SVG/masking.html 

HTH,

Chris




-Original Message-
From: Michael Zehrer [mailto:[EMAIL PROTECTED]] 
Sent: 18 March 2002 15:24
To: Cocoon-Users (E-Mail)
Subject: SVG Transparency


Hi list,

maybe a little offtopic, but how can I have svg images with

transparent



background in Cocoon?

Cheers, Michael




-



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

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


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

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


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

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


-
Please check that your question has not already been

SVG Transparency

2002-03-18 Thread Michael Zehrer

Hi list,

maybe a little offtopic, but how can I have svg images with transparent
background in Cocoon?

Cheers, Michael


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

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




AW: SVG Transparency

2002-03-18 Thread Michael Zehrer

Hi Chris,

thanks for the link, but excuse me this is a little bit too complex. Can
you explain the concept?


Cheers Michael

-Ursprüngliche Nachricht-
Von: Chris Newland [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 18. März 2002 16:41
An: [EMAIL PROTECTED]
Betreff: RE: SVG Transparency


http://www.w3.org/TR/SVG/masking.html

HTH,

Chris

 -Original Message-
 From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
 Sent: 18 March 2002 15:24
 To: Cocoon-Users (E-Mail)
 Subject: SVG Transparency
 
 
 Hi list,
 
 maybe a little offtopic, but how can I have svg images with
transparent
 background in Cocoon?
 
 Cheers, Michael
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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

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


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

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




AW: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-21 Thread Michael Zehrer
Title: RE: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2



Hi 
Gilles,

there 
is a problem with all map:redirect-to/ statements. I don't know why, but 
for the welcome example you have to change the mapping
from 
map:redirect-to uri="welcome"/ to map:redirect-to 
uri="cocoon/welcome"/, then it works.

Can 
someone explain what could be wrong?

Michael

  -Ursprüngliche Nachricht-Von: Ducret, Gilles (CH) 
  [mailto:[EMAIL PROTECTED]]Gesendet: Montag, 19. November 
  2001 10:59An: '[EMAIL PROTECTED]'Betreff: RE: 
  Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2
  Hello Jack, 
  Your instructions really helped. 
  We now have the problem: when we access the URL, it seems that 
  it is redirected to a welcome page. 
  We have the message that this ressource is not found. 
  
  Any idea about that? 
  We can see that it is now running (from the traces) but the 
  welcome page/ressource is not found. 
  Is there something else that has to be defined? 
  Many thanks 
  Gilles 
  -Original Message- From: Jack 
  Hirasawa [mailto:[EMAIL PROTECTED]] 
  Sent: vendredi, 16. novembre 2001 15:51 To: [EMAIL PROTECTED] Subject: Re: 
  Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2 
  Hi Gilles, 
  Have you checked the mail archives? You should check 
  there first before asking (they are in there). 
  
  But enough nagging, to make your life easier here's the 
  instructions again for Cocoon2... 
  1) If there's a Cocoon-2.0rc1\build directory, delete 
  it 2) set JAVA_HOME=c:\WebSphere\AppServer\jdk 
  3) .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=c:\WebSphere\AppServer\hosts\default_host\cocoon 
  webapp 4) Fire Up the Websphere admin server and the 
  Admin console 5) Go to the Servlet Container and put 
  it in Servlet 2.2 full compliance mode 
  6) Deploy the WAR file in c:\Cocoon-2.0rc1\build\cocoon (use 
  Convert a WAR File) 7) Update 
  the Server Command Line Arguments: -Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser 
  -classpath C:\Cocoon-2.0rc1\lib\xerces_1_4_3.jar;C:\Cocoon-2.0rc1\lib\cocoon-2.0rc1.jar;C:\Cocoon-2.0rc1\lib\velocity-1.1.jar;C:\Cocoon-2.0rc1\lib\servlet_2_2.jar;C:\Cocoon-2.0rc1\lib\maybeupload.jar;C:\Cocoon-2.0rc1\lib\batik-libs.jar;C:\Cocoon-2.0rc1\lib\ant_1_4.jar;C:\Cocoon-2.0rc1\lib\xalan-2.2.0-dev.jar;C:\Cocoon-2.0rc1\lib\logkit-1.0b5.jar;C:\Cocoon-2.0rc1\lib\fop-0_20_1-dev.jar;C:\Cocoon-2.0rc1\lib\resolver.jar;C:\Cocoon-2.0rc1\lib\ant_1_4-optional.jar;C:\Cocoon-2.0rc1\lib\avalon-framework-4.0.jar;C:\Cocoon-2.0rc1\lib\jakarta-regexp-1.2.jar;C:\Cocoon-2.0rc1\lib\dom2.jar;C:\Cocoon-2.0rc1\lib\rhino.jar;C:\Cocoon-2.0rc1\lib\xt.jar;C:\Cocoon-2.0rc1\lib\hsqldb-1.61.jar;C:\Cocoon-2.0rc1\lib\avalon-excalibur-4.0.jar;C:\Cocoon-2.0rc1\lib\Tidy.jar;C:\Cocoon-2.0rc1\lib\stylebook-1.0-b3_xalan-2.jar;C:\Cocoon-2.0rc1\lib\junit.jar;C:\Cocoon-2.0rc1\lib\jimi-1.0.jar;C:\Cocoon-2.0rc1\lib\jstyle.jar;C:\Cocoo
  n-2.0rc1\lib\bsf.jar;C:/WebSphere/AppServer/jdk/lib/tools.jar;c:\WebSphere\AppServer\hosts\default_host\cocoon\servlets\cocoon-2.0rc1.jar
  8) Select the Servlet Cocoon2 and Add a Servlet Web Path 
  virtual-host/cocoon/* 9) On the advanced tab add the following init parameters 
   org.apache.cocoon.component.parser.Parser=org.apache.cocoon.components.parser.XercesParser 
   force-load=com.ibm.servlet.classloader.Handler 
   classpath-attribute=com.ibm.websphere.servlet.application.classpath 
  10) In the Web directory of the Webapp edit cocoon.xconf and 
  move the parser statement out of the comment 
  block 11) Copy the WEB-INF directory from the web 
  directory to the servlets directory 12) Copy the cocoon.xconf file from the web directory to the servlets 
  directory 12) Shut down the 
  Admin console 13) Shut down the Admin server and 
  restart it 14) Restart the admin console 
  15) Start the server 
  For step 7) you should really probably use the jar files that 
  get deployed in the servlets directory instead of the 
  ones in the build directory. 
  Hope this helps. If you're trying to get cocoon 1.8.2 
  working, check the archives, I got it working a while 
  ago and I used the tips in the archives. 
  Jack 
  From: "Ducret, Gilles (CH)" 
  [EMAIL PROTECTED] Reply-To: 
  [EMAIL PROTECTED] To: 
  "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] 
  Subject: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2 
  Date: Fri, 16 Nov 2001 10:10:00 +0100 MIME-Version: 1.0 Received: from 
  [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBDBE23B1009940042A18407D851404FD0; Fri, 16 Nov 2001 
  01:13:23 -0800 Received: (qmail 84477 invoked by 
  uid 500); 16 Nov 2001 09:11:23 - Received: 
  (qmail 84462 invoked from network); 16 Nov 2001 09:11:23 - 
  From cocoon-users-return-25809-jackhirasawa Fri, 16 Nov 
  2001 01:13:38 -0800 Mailing-List: contact 
  [EMAIL PROTECTED]; run by ezmlm Precedence: bulk list-help: mailto:[EMAIL PROTECTED] 
  list-unsubscribe: mailto:[EMAIL PROTECTED] 
  list-post: mailto:[EMAIL PROTECTED] 
  Delivered-To: mailing list 

AW: C2 / WebSphere Installation Instructions

2001-10-29 Thread Michael Zehrer

Hi Jack;

thanks, great Work, but I still have this exception.

Regards, Michael

[01.10.29 13:03:58:565 GMT+01:00] dbb93d54 ServletInstan X Uncaught
init() exception thrown by servlet {0}: {1}
 Cocoon2
 javax.servlet.ServletException
at
javax.servlet.ServletException.init(ServletException.java:161)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:617)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eServlet.java:102)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
84)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.j
ava:76)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppSer
vletManager.java:91)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(
WebAppServletManager.java:158)
at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:806)
at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:93)
at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:121)
at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:82)
at
com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:117)
at
com.ibm.servlet.engine.ServletEngineDynamicUpdateSupport.addWebGroup(Ser
vletEngineDynamicUpdateSupport.java:126)
at
com.ibm.ejs.sm.active.ActiveServletGroup.startAction(ActiveServletGroup.
java:76)
at
com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:682)
at
com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at
com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObjec
t.java:584)
at
com.ibm.ejs.sm.active.ActiveServletEngine.startAction(ActiveServletEngin
e.java:60)
at
com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:682)
at
com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at
com.ibm.ejs.sm.active.ActiveObject.operateOnContainedObjects(ActiveObjec
t.java:584)
at
com.ibm.ejs.sm.active.ActiveEJBServer.startAction(ActiveEJBServer.java:9
6)
at
com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:682)
at
com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:117)
at java.lang.reflect.Method.invoke(Native Method)
at
com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImp
l.java:93)
at
com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.ja
va:62)
at
com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.jav
a:80)
at
com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegat
e.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2282)
at com.ibm.CORBA.iiop.WorkerThread.run(WorkerThread.java:195)
at
com.ibm.ejs.oa.pool.ThreadPool$PooledThread.run(ThreadPool.java:535)

[01.10.29 13:03:58:865 GMT+01:00] dbb93d54 WebGroup  X [Servlet
Error]-[{0}]: {1}: {2}
 Cocoon2
 Servlet konnte nicht geladen werden
 javax.servlet.ServletException
at
javax.servlet.ServletException.init(ServletException.java:161)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManage
r.java:617)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecyc
leServlet.java:136)
at
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLife
cycleServlet.java:244)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycl
eServlet.java:102)
at
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:2
84)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.j
ava:76)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppSer
vletManager.java:91)
at
com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(
WebAppServletManager.java:158)
at
com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:806)
at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:93)
at
com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:121)
at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:82)
at
com.ibm.servlet.engine.ServletHost.addWebGroup(ServletHost.java:117)
at

Cocoon2 Websphere 3.5.4

2001-10-23 Thread Michael Zehrer

Hi list,

anyone here have instructions, how to install Cocoon2 sucessfully with
IBM Websphere 3.5.4?

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




PHP Generator

2001-07-30 Thread Michael Zehrer

Hi list,

Can someone give me an example for using the php-Generator in Cocoon2 (not
how to install it, but actually using it)?

Regards 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: PHP Generator

2001-07-30 Thread Michael Zehrer

Hi Marco,

It was on the list:

---

[Cocoon Devel] *preliminary* PHP generator committed
[EMAIL PROTECTED] [EMAIL PROTECTED]
Wed, 28 Jun 2000 11:20:09 -0400 




OK, I've committed to the cocoon-2 branch the beginnings of a PHP
generator.  A suitably configured system will invoke the PHP binaries
through JNI and the output of the page will be processed through the
configured XML parser and placed into the pipeline for processing by such
filters as XSLT.

This enables PHP developers to access the powers of Cocoon to separate
their content, style, and logic without requiring them to write a single
line of Java code.

To build, one needs to first build PHP as a servlet.  Then copy the
resulting phpsrvlt.jar into xml-cocoon-lib and build cocoon.  Then copy
both phpsrvlt.jar and cocoon.jar into Tomcat's lib directory, and add the
php servlet DLL or shared library to your path/LD_LIBRARY_PATH.

To configure, simply add the following to your configuration

   generator name=php
   class=org.apache.cocoon.generators.PhpGenerator/

...and then use this generator in a process.

This has been developed using JDK 1.2.2 on Win2K with Tomcat, but should
run on pretty much any OS supported by PHP and Java, any JDK 1.1 or better,
and any servlet 2.0 or better engine.  You do need cocoon2 and PHP 4.0.1
however, neither of which has been released.

Warning: what I have committed has only been tested to the point where it
processes a simple hello world style page.  An example of known problems
include error recovery - the default behavior of PHP is to insert an error
message into the output stream.  While this default error message is valid
HTML, it is not well formed XML; the result being that instead of seeing
what you did wrong, you see a message about an unmatched br tag.

I expect to evolve this quickly and have the code ready for prime time by
the O'Reilly Open Source conference in Monterey.

- Sam Ruby


-Ursprüngliche Nachricht-
Von: Marco Spinetti [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. Juli 2001 13:58
An: [EMAIL PROTECTED]
Betreff: R: PHP Generator


Hi Michael ,
can you explain me how  install the PHP Generator?

THANKS

MARCO


- Original Message -
From: Michael Zehrer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 30, 2001 1:52 PM
Subject: PHP Generator


 Hi list,

 Can someone give me an example for using the php-Generator in Cocoon2 (not
 how to install it, but actually using it)?

 Regards Michael

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

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



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

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

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

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




AW: AW: PHP Generator

2001-07-30 Thread Michael Zehrer

Hi Sam,

ok this is the php stuff, but how do I configure the relationship between
php-Pages and Cocoon?

I only have map:generator name=php
src=org.apache.cocoon.generation.PhpGenerator/ in my sitemap.xmap until
now.

Michael

-Ursprüngliche Nachricht-
Von: Sam Ruby [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 30. Juli 2001 14:20
An: [EMAIL PROTECTED]
Betreff: Re: AW: PHP Generator


 I expect to evolve this quickly and have the code ready for prime time by
 the O'Reilly Open Source conference in Monterey.

Here is the simple demo that I presented at that conference:

   track name=PHP

   ?

     $sessions = array(
   10:45, PHP 4 Internals, Andi Gutmans,
   1:30,  State of PHP,Rasmus Lerdorf,
   2:00,  PHP and Java,Sam Ruby,
   3:30,  PHP and XML, Rael Dornfest
     );

     $i = 0;
     while ($i  sizeof($sessions)) {
   echo session\n;
   echo   time . $sessions[$i++] . /time\n;
   echo   title . $sessions[$i++] . /title\n;
   echo   speaker . $sessions[$i++] . /speaker\n;
   echo /session\n;
     }

   ?

   /track

With the following stylesheet:

 
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transfor
m
 xsl:template match=track
      html
   head
    titlexsl:value-of select=@name/ Track/title
   /head
   body bgcolor=#ff
 
 h1O'Reilly Conference Track for xsl:value-of select=@name//h1
    table border=1
     tr BGCOLOR=#00
      th Time /th
      th Title /th
      th Speaker /th
     /tr
     xsl:apply-templates/
    /table
   /body
      /html
     /xsl:template

     xsl:template match=session
      tr BGCOLOR=#CC
   td align=right xsl:value-of select=time/ /td
   td xsl:value-of select=title/ /td
   td xsl:value-of select=speaker/ /td
      /tr
     /xsl:template

   /xsl:stylesheet

- Sam Ruby


-
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 Websphere 3.5

2001-07-04 Thread Michael Zehrer

Hi list,

anyone here have installed Cocoon 1 on Websphere? Does it work? Any hints or
resources?

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




Cocoon fop PNG ?

2001-07-04 Thread Michael Zehrer

Does Cocoon 1.8.2 support png's for inclusion in fop-documents? All I get is
an IOException...

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