Re: ParanoidCocoonServer / EJB's

2005-06-20 Thread Patrick Hess
I solved my own problem now and to document this for the archive here is what I found out for the combination of Cocoon/Weblogic7/EJB: - Cocoon needs the use the ParanoidCocoonServlet (web.xml) - Cocoon and EJB needs to be packed as .ear archive, I've haven't found another way when using the

ParanoidCocoonServer / EJB's

2005-06-13 Thread Patrick Hess
Hi, I have a problem with an existing and deployed Cocoon application based on 2.1.2 which is using EJB's in a Weblogic 7 server. When we deployed the application for the first time speed was fine. Now after 1.5 year users complained about the speed of the application. I checked with "ab" and

Cocoon with JNDI Datasource in Weblogic

2004-11-12 Thread Patrick Hess
Hi, I have a feeling that this question is not exactly Cocoon related but I'll try anyway... We have a Cocoon application deployed on Weblogic 7 since a couple of month. Now I would like to add some functionality which requires access to our Oracle database. There is already a datasource define

Re: [POLL] which Cocoon version / JDK version / Servlet Container are you using ?

2004-03-03 Thread Patrick Hess
COCOON : 2.0.5dev JDK : 1.4.2_03 CONTAINER : Tomcat 4.1.29 COCOON: 2.1.2 JDK: 1.4.2_03 CONTAINER: Weblogic 7 -- or -- COCOON: 2.1.4 JDK: 1.4.1_xx CONTAINER: Tomcat 4.1.27 Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Cocoon installing on weblogic 8.x Step by Step

2004-03-01 Thread Patrick Hess
reza x wrote: hi all i want to use cocoon in my web application.but i encounter some problems.one is thet weblogic can't deploy my war file and generate folowing exception: Cocoon works fine for me on several version of Weblogic (up from 7). Easiest way to start was for me to unpack the WAR file

Re: Question about eclipse

2004-01-28 Thread Patrick Hess
Han Jon Theus wrote: Anyone can say me how to set the path, where eclipse creates its class files (after compiling the *.java Source). I always have to copy the *.class file into the WEB-INF folder. Thats realy annoying if there are more then 1 file to copy. Btw. i am working with linux (so no

Re: HTML Editor for Woody

2004-01-20 Thread Patrick Hess
[EMAIL PROTECTED] wrote: is it possible to include a sample that use htmlarea in cocoon distribution. Are they licence problems or not ? If someone can clarify if licensing is a problem or not I would work out a nice integration sample as my current one is only proof of concept style... From t

Re: HTML Editor for Woody

2004-01-20 Thread Patrick Hess
ions but I don't want to have a XMLDB as requirement but as optional repository (same with SQL: will be optional). -- Patrick Hess - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML Editor for Woody

2004-01-20 Thread Patrick Hess
Michael Wechner wrote: For the Lenya form editor we are using an XSLT src/webapp/lenya/xslt/authoring/edit/copy-mixed-content.xsl > [...] Sounds good, I will have a look into lenya to get it working... btw, this week will be hackathon/sprint on Epoz at http://www.oscom.org/Conferences/Sprints

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
[EMAIL PROTECTED] wrote: this javascript editor support IE or not yet ? btw linotype sample does not work for a long time I've tested it on a fresh 2.1.3 yesterday and it worked for me. It supports (only) Mozilla because of using the midas editor (http://www.mozilla.org/editor/). Patrick ---

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
Upayavira wrote: Have you looked at Linotype? It is in the Cocoon Linotype block, and has a client side Javascript editor built in. Stefano wrote it, and it has been suggested that this should be made into a Woody widget. If you were able to create a Woody widget of the Linotype editor, I'm sur

Re: HTML Editor for Woody

2004-01-19 Thread Patrick Hess
[EMAIL PROTECTED] wrote: i'm not sure for that but if you try to convert html code to xhtml using html generator and Jtidy. in a work in progress example i post the html content from a text area to a pipeline and save it as .xml (xhtml) in filesystem without escaped characters. i'll publish thi

HTML Editor for Woody

2004-01-19 Thread Patrick Hess
Hi, I've spend the last 2 hours in integrating the HTMLArea (the free customizable online editor, http://dynarch.com/htmlarea/) into my project which worked pretty smooth compared with my tests yesterday with midas from the Mozilla project (or even worse: the typo3 RTE editor...) In my company

Re: call CLI from webapp

2004-01-15 Thread Patrick Hess
Upayavira wrote: Another question: I'm using the CocoonBean inside of an Action -- is there any reason why I should NOT do this Probably. I have conteplated this sort of thing before, but the issues are quite large. The CocoonBean creates a whole new instance of the Avalon framework in o

Re: call CLI from webapp

2004-01-15 Thread Patrick Hess
Upayavira wrote: Did anyone tried to call the Cocoon CLI stuff from a web application? I would like to create an application that allows the user to build a webpage and publish it later as static html to a location on the file system. Simplest way I guess would be to call the cocoon.sh script

call CLI from webapp

2004-01-14 Thread Patrick Hess
Hi there! Did anyone tried to call the Cocoon CLI stuff from a web application? I would like to create an application that allows the user to build a webpage and publish it later as static html to a location on the file system. Simplest way I guess would be to call the cocoon.sh script from my

Re: woody form validation problem

2004-01-14 Thread Patrick Hess
Antonio Gallardo wrote: From the below exception stack trace. I guess the problem is related to a bad validator. Concretly to a bad expression. Can you review your definitions in this way? Great! Problem was caused by a -- as I don't need it removing it fixed the problem. Thank a lot, now I'm re

Re: woody form validation problem

2004-01-14 Thread Patrick Hess
Antonio Gallardo wrote: Also where the flow script is broken at waht line? It would help. Thank for the response! I'm not using flows because app has to run under Weblogic and I have no fix for WL that makes them usable... (If someone has tip for me... :) I will check the definitions again and

Re: woody form validation problem

2004-01-13 Thread Patrick Hess
I wrote: Hi, I'm having a problem using woody which I can not find. Maybe someone has an idea about it. Sorry -- forget some details on my environment: - Windows 2k - Java 1.4.1_b02 - Weblogic 7 SP1 (also tried Tomcat) -- Patrick

woody form validation problem

2004-01-13 Thread Patrick Hess
ng wrong here... Thanks! -- Patrick Hess - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP: using fo:external-graphic with SVG

2004-01-09 Thread Patrick Hess
J.Pietschmann wrote: Any internal references, for example to gradients and such? They wont work in an embedded SVG with older Batik releases (I don't know which Batik release your Cocoon contains). They should fail with FOP before 0.20.5RC3 too. Even a simple SVG like test test Te

Re: nested actions

2004-01-08 Thread Patrick Hess
Flavio Palumbo wrote: i wrote two little actions that i put nested in a pipeline. When the first action fails it returns a null and the second action is not called, but if the second action fails it also returns a null but the confirmation page is called as if the second action was successfull. Yo

Re: FOP: using fo:external-graphic with SVG

2004-01-08 Thread Patrick Hess
J.Pietschmann wrote: Is there a DOCTYPE in the SVG, or does the SVG reference other images? The "No ImageReader" is a kind of catch-all. It seems the SVG reader gets an error during parsing the SVG or while determining the image size. Delete any DOCTYPE (but keep the SVG and perhaps XLINK namespac

Re: Cocoon 2.1.2 on Weblogic 6.1 is performing slower than on Tomcat 4.1.29

2004-01-08 Thread Patrick Hess
Mr Igor Galperin wrote: The XSL processing by Cocoon installed on Tomcat is pretty fast. The same application deployed in Weblogic 6.1 SP3 takes about 5 times more time to do the XSL part. In Tomcat it takes about 1 second , in Weblogic 5 seconds. We tried to use the SAXON, but it still very

FOP: using fo:external-graphic with SVG

2004-01-07 Thread Patrick Hess
eat!! I'm using Cocoon 2.1.3 webapp on Weblogic7 running on Win2k/Solaris8. -- Patrick Hess - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

remove attribute from session without XSP

2004-01-06 Thread Patrick Hess
Hi, I'm looking for an easy way to delete an attribute from the user's session after doing some stuff in the sitemap. Is there a way without using XSP like the or session.removeAttribute()? Maybe a sitemap-action? Thanks! -- Pa

Re: problem with fo:basic-link / RFT serializer

2003-12-12 Thread Patrick Hess
Patrick Hess wrote: So if some has an idea what I'm doing wrong -- please help :)) I'm using now a workaround. I would like to to this: ...which does not work for me (see original posting). Splitting this into: ...works fine. Pa

Re: cocoon-blank.war II

2003-12-12 Thread Patrick Hess
and will start with tomcat 4.1 (later weblogic 7/8) on Linux and Windows 2000. So doing a complete build will shift to the background for this but will be still availble. Have a nic weekend... -- Patrick Hess - To unsubscribe, e-ma

problem with fo:basic-link / RFT serializer

2003-12-11 Thread Patrick Hess
erialize approach (without transformer) it works fine again. Last test: created an "empty" xml () and created a simple stylesheet containing only one template with my complete original xml. Same result, does not work! :-( So if some has an idea what I&#

cocoon-blank.war II

2003-12-10 Thread Patrick Hess
act me and I will send you the URL. Any other comments, flames or ideas are also welcome! Thanks for your time... -- Patrick Hess - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SVG problem after move to production server

2003-12-08 Thread Patrick Hess
Jorg Heymans wrote: Is there any reason why you're including the font like this? Can't you just keep them as plain ttf's and put them in $JAVA_HOME/jre/lib/fonts? I'm assuming these svg/arial.svg are ttf fonts that you converted with batik, i've never seen this notation. The described way turne

Re: SVG problem after move to production server

2003-12-08 Thread Patrick Hess
Steve Buck wrote: Just as a shot in the dark, but you may want to make sure that you have the fonts installed that you are requesting. You may have missed them because they are in separate debs from the xserver. Also make sure that your font path or that you xft is setup correctly. I converte

Re: SVG problem after move to production server

2003-12-05 Thread Patrick Hess
[EMAIL PROTECTED] wrote: I am not quite sure, but we ran into a similiar problem some weeks ago, when we switched from an XP system to a Solaris box. In our case the problem was, that we had no running X server on the Solaris machine. As in my setup the headless option is one of the major differen

Re: SVG problem after move to production server

2003-12-05 Thread Patrick Hess
Jorg Heymans wrote: did you read http://wiki.cocoondev.org/Wiki.jsp?page=Embedding_SVG_Fonts Yes, I did -- no helpful in my case and I don't want to embedd the fonts. I want to have them external. On the other hand, have you tried absolute paths in your url section? I just tried it and unfortuna

SVG problem after move to production server

2003-12-05 Thread Patrick Hess
tly to the SVG file works in both environments: ... ... Has anybody a usefull hint for me why this happends? As a workaround a included the fonts to the main SVG (images) but that's not what I want to have for the future. Thanks for read

Re: cocoon project deploy

2003-12-03 Thread Patrick Hess
[EMAIL PROTECTED] wrote: from you experience is any way to automate all this procedure or to create an "Install Shield" that will run from a CD -install JAVA -set paths and variables -install cocoon (on jetty maybe) -create a shortcut :-) I prepared for a friend a CDROM including eclipse, tomca

Re: drive site with cocoon on sun e450

2003-12-01 Thread Patrick Hess
Robert Andersson wrote: we, well i, want to set up cocoon and lenya to drive http://sprakteknologi.se/ on our sun e450, 4x300Mhz ultrasparc II, 4GB. yes it's an old machine but it's rather nice i think. :) On a similar machine cocoon is running fine here on tomcat 4.1.x and weblogic 7 (flowscript

Re: removing namespaces...

2003-11-27 Thread Patrick Hess
J.Pietschmann wrote: You also can't use exclude-result-prefixes to transform XHTML (using the XHTML namespace) into HTML 4.x (no namespace). Use the "cleanxmlns" posted downthread for this task. Thanks to everyone who replied on my message - I will go deeper into it now, thanks!! Patrick

removing namespaces...

2003-11-26 Thread Patrick Hess
I currently facing the well-known problem of "how to remove namespace declarations from my HTML files?". After testing a bit I found that the exclude-prefixes="..." approach works fine for me - even if the Wiki lists this under "Solutions, which do NOT work". (http://wiki.cocoondev.org/Wiki.jsp?

problem: JXTemplate Generator

2003-11-04 Thread Patrick Hess
Hi! I'm trying to work this JXTemplate generator but it seems I'm missing something... This is my pipeline: realms.xml looks like this: http://apache.org/cocoon/templates/jx/1.0";> ${session.myBean.getUserName()}

Re: xsp:expr / creating a link

2003-10-28 Thread Patrick Hess
Antonio Gallardo wrote: #?userName userName Thanks again fr the answers! Would be nice to get such a quick and informative service from professional vendors like here on this list! :) Patrick - To unsubscribe, e-mail: [EMAI

Re: xsp:expr / compiler error: Missing semicolon

2003-10-28 Thread Patrick Hess
Try this: for (int i = 0; i < users.size(); i++) { UserDataBean udb = (UserDataBean) users.get(i); String userName = ((String) udb.getUserName()); userName } Sorry, another stupid question: userName How to create

Re: xsp:expr / compiler error: Missing semicolon

2003-10-28 Thread Patrick Hess
Thanks Antonio, that works! Pretty dump question... I see there is still a lot of work in learning the basic... :-) But I love cocoon... Patrick Antonio Gallardo wrote: Try this: for (int i = 0; i < users.size(); i++) { UserDataBean udb = (UserDataBean) users.get(i);

xsp:expr / compiler error: Missing semicolon

2003-10-28 Thread Patrick Hess
Can somebody tell what I'm doing wrong in this XSP (snippet): XSP: for (int i = 0; i < users.size(); i++) { UserDataBean udb = (UserDataBean) users.get(i); String userName = ((String) udb.getUserName()); userName } Without the last l

flows on weblogic 7

2003-10-24 Thread Patrick Hess
Hi all, I have a problem with flows in cocoon-2.1.1: "resource://org/apache/cocoon/components/flow/javascript/fom/fom_system.js", line 4: uncaught JavaScript exception: at calculator (file:/C:/CocoonSDK/bea7/dev/applications/ishauth-2/samples/flow/calc/calc.js, Line 5) at getNumber (file:/C:/

Re: learning flows: question

2003-10-23 Thread Patrick Hess
Reinhard Poetz wrote: Use the JXTemplateGenerator before the WoodyTransformer. Thanks! Works fine now!! Cocoon is geat! :-) I really love it... Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

learning flows: question

2003-10-23 Thread Patrick Hess
Hi, I'm trying to leran :) how flows work at the moment and after playing with the examples I get a feeling how the things fit together. Now I wanted to test my knownledge own my own project. I think it's a simple question: How to get the ${continuation.id} in my XML/XSP? I need it in my woody

Re: Woody & Binding?

2003-10-20 Thread Patrick Hess
Reinhard Poetz wrote: My business logic is implemented in EJB so the binding frameworks sounds like the right approach but if possible I would like to start with a more simple way and migrate to binding later... you can start with XML files to evaluate Woody wheter it fits your needs. That's

Re: Cocoon + Bea Weblogic 7 Cluster

2003-10-20 Thread Patrick Hess
Shailender Rachamalla wrote: were u able to create a war file with cocoon and make ear? If your question is related to the generell installation of cocoon on weblogic 7 I can tell you that it was NO problem for me to get it running even as cocoon beginner a fews weeks ago. Nothing special that

Woody & Binding?

2003-10-20 Thread Patrick Hess
Hi there, the application I'm working on at the moment is using woody for some form handling. I managed to get everything working like I expected and saving some data works fine -- now I'm asking my self what's best way to prepopulate fields on typical "edit" scenarios. Do I have to use the bi

Re: xsp-session:getxml & XSP

2003-10-17 Thread Patrick Hess
Simeon Walker wrote: The namespace is: xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0"; Thanks a lot, tha works fine for me! Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

xsp-session:getxml & XSP

2003-10-17 Thread Patrick Hess
I'm trying to get my authentification stuff back from the session in a XSP page - using does not work for me. In the wiki there is an article that says the same: http://wiki.cocoondev.org/Wiki.jsp?page=LDAPPortalAuthentification+and+RequestUserInfoFromXSP (Part2 : Getting user info from XSP) >

Re: Authentication Framework

2003-10-16 Thread Patrick Hess
The prefix "parameter_" is removed, so using the way you describe with "userid", "password" should work, i guess. Only working way I found is now: Thanks for the replies! Patrick - To unsubscribe, e-mail: [EMAIL PROTECTED]

Cocoon + Bea Weblogic 7 Cluster

2003-10-15 Thread Patrick Hess
Hi, is here anyone who tried to use cocoon with Wl7 in a clustered setup? I'm asking myself if there are any problem to prepare for. Any information about a clustered cocoon would be helpful. Thanks a lot and have a nice day, Patrick

Authentication Framework

2003-10-15 Thread Patrick Hess
Hi, I'm trying to implement a protected area in my cocoon setup. In the docs I found the following action: ... ... My question may be pretty simple: how to get the name/password in a XSP page? I found a parameters object in usable in the XSP and tried to get the value with par

problem: cocoon 2.1 + xindice 1.1b2 (cvs)

2003-08-18 Thread Patrick Hess
Hi all, I started using cocoon 2.1 a few days ago and tried to get it working with xindice 1.1b2 build from CVS (and xindice 1.0 before) as webapps on tomcat 4.1.12 on Win2k using JDK 1.4.1_2. In xindice I have several news articles saved but whenever I retrieve them via cocoon the CDATA secti