Re: Dynamic query in xsp:logic and esql:query

2003-01-05 Thread Lajos Moczar
Yves - Why not build your select statement as a string variable inside an xsp:logic block after the root user tag, and then reference it thusly: esql:query xsp:exprmyQuery/xsp:expr /esql:query I do this all the time and it works perfectly. Regards, Lajos -- galatea.com Cocoon training,

Re: Request: XSP for quering Google Web API

2003-01-05 Thread Lajos Moczar
Attached is one from my and Jeremy's book. Lajos Lenya L. Khachaturov wrote: Hello, I've discovered that there exists an XSP for quering Google Web API. It was posted to this list by Ugo Cei at 04.19.2002. Could someone please send it to me? Or maybe there exist more advanced variants? --

Re: Dynamic query in xsp:logic and esql:query (partly solved)

2003-01-05 Thread Lajos Moczar
I can't understand what you are doing w/out seeing the whole XSP. Typically I do this: xsp:page language=Java ... / html !-- This is your root user tag -- xsp:logic String myQuery = select * from vwProducts; !-- Or whatever logic you need to build the query string -- /xsp:logic !--

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-05 Thread Lajos Moczar
Don't know if you've checked this out already, but Steve Punte has Cocoon-Orion integration instructions at http://www.candlelightsoftware.com/orion-cocoon.html. Regards, Lajos e nio wrote: I tried deploying cocoon2.1 which I have recently downloaded and compiled, it deploys fine on Tomcat

Re: Confused About Realms

2003-01-03 Thread Lajos Moczar
Jeff - You'll need to change the DTD for Cocoon's web.xml to version 2.3, thusly: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; Cheers, Lajos -- galatea.com Cocoon training, consulting support Book: Cocoon

Re: newbie trying samples from: Cocoon: Building XML Apps...

2002-12-21 Thread Lajos Moczar
Hi Ray - I hope your other book is mine Jeremy's - Cocoon Developer's Handbook ;) The easiest configuration I've found is Tomcat 4.0.5 or greater, with JDK 1.3.x. I have been able to drop Cocoon 2.0.3/2.0.4 into Tomcat 4.0.5/4.0.6/4.1.12 without any problems. Just note that if you build

Re: How to install Cocoon with Apache?

2002-12-20 Thread Lajos Moczar
Hi Soren - You can download a bundle called Az from http://www.galatea.com/az. It currently uses 2.0.3, but I'll be upgrading to 2.0.4 this weekend. It is available on Linux and Windows. Cheers, Lajos Sorin Marti wrote: Hi All, I'd like to set up Cocoon with apache. I did it with Tomcat

Re: Security and authentication

2002-12-16 Thread Lajos Moczar
If you really didn't want to do it via web.xml, which I would recommend, you probably could have a pipeline for the resource that did a map:redirect and took your user to a fully-qualified secure URL. Lajos Miles Elam wrote: Is there a way to specify that a Cocoon resource only be accessed

Re: starting cocoon with windows 2000

2002-11-27 Thread Lajos Moczar
You should use 2.0.3 instead - it is the easiest version to install so far. Personally, I'd go with JDK 1.3.1, however, 'cause you'll have to recompile some jars for JDK 1.4. Lajos Ferran Urgell wrote: Hello! I'm new in the cocoon, and I'm using windows 2000, I would to install cocoon.

Re: Cocoon Cobundle ? Please!

2002-11-22 Thread Lajos Moczar
You can find my own integrated back of Apache, Tomcat and Cocoon at http://www.galatea.com/az. When 2.1 hits production, I'll have that version available as well. Regards, Lajos Christian Kissner wrote: Hi, this is a plea, from an experienced developer, to bundle working versions of cocoon

Re: Cocoon Cobundle ? Please!

2002-11-22 Thread Lajos Moczar
, 2002-11-22 at 21:26, Lajos Moczar wrote: You can find my own integrated back of Apache, Tomcat and Cocoon at http://www.galatea.com/az. You are distributing a patched cocoon. It would be nice if you put the patch online too. -- galatea.com Cocoon training, consulting support

Re: Does cocoon support name based virtual hosting?

2002-11-07 Thread Lajos Moczar
Sure, O Great One. Use the WildcardHostMatcher. Lajos GreatOne wrote: Does cocoon support name based virtual hosting? - Please check that your question has not already been answered in the FAQ before posting.

Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

2002-11-04 Thread Lajos Moczar
I just changed the relevant line to: fos = new FileOutputStream(file.getCanonicalPath(), append); Regards, Lajos Mark Eggers wrote: While trying to compile the lastest CVS version of cocoon, I ran into an issue with the scratchpad libraries: In part, from the file

Re: Fatal error - how to test database connection?

2002-10-29 Thread Lajos Moczar
Derek - Did you declare the MySQL jar in web.xml thusly? init-param param-nameload-class/param-name param-value org.gjt.mm.mysql.Driver /param-value /init-param And put the jar where Cocoon will find it? Regards, Lajos Derek Hohls wrote: I get the following

Re: cocoon- vs. tomcat-authentication ???

2002-10-26 Thread Lajos Moczar
Hussayn - It really depends on what you are more familiar with. I generally prefer Tomcat's realms, both because they take less programming and also because I can easily write a custom realm when I need to (and I have had to before). Although you can use a Realm to protect an entire Cocoon

Re: Cocoon 2.0.3 installation with Tomcat 4.0.1

2002-10-25 Thread Lajos Moczar
Chris - Tomcat will automatically unpack the war file - you don't need to do so yourself. Also, I recommend you use a new version of Tomcat - like 4.0.5 or 4.1.12. These are preferred over 4.0.1. Lajos Chris Bovasso wrote: I have an install of Tomcat 4.0.1 and I downloaded the .gz file for

Re: Sample Cocoon App

2002-10-18 Thread Lajos Moczar
Check out Jeremy's and my book when it comes out in December - that has several fairly complex apps for your enjoyment - authentication, SOAP, internationalization, J2EE, portals, etc. Link is at http://www.amazon.com/exec/obidos/tg/detail/-/0672322579/002-9257316-7139204. Sadly, my name is

Re: So close .. I think?

2002-10-11 Thread Lajos Moczar
What about if you try http://domain/? You might need a pipeline in the main sitemap to catch a URL that ends in domain without the trailing slash: map:match pattern=domain map:redirect-to uri=domain// /map:match map:match pattern=domain/** map:mount uri-prefix=domain

Re: CVS of C2.0.4-dev

2002-10-10 Thread Lajos Moczar
Olivier - Use cocoon_2_0_3_branch. Lajos ROSSEL Olivier wrote: I need C2.0.4-dev. I am currently getting the CVS of HEAD. I wonder if HEAD is either C2.0.4-dev? or C2.1-dev? If HEAD is not C2.0.4-dev, what are the instructions to get it? Note: may be this point should be clearly

Re: sub-sitemaps with mod_webapp ...

2002-10-10 Thread Lajos Moczar
What OS are they running on? Unfortunately, mod_webapp is, well, sort of crappy. To be more politically correct, it is a work in progress, and has been known to cause problems like you describe (especially with Netscape on Windows). Why not use mod_jk? You can't beat the tried and true.

Re: local site setup

2002-10-09 Thread Lajos Moczar
Hi Peter - Not a dumb question at all. In fact, until recently, you had to add your own build targets to build a clean example-less distribution. But now you can do: build.bat clean-webapp or build.sh clean-webapp. This gives you a clean war file, without any samples, that you can copy to

Re: SPAM: Cocoon 2 Developers Wanted...

2002-10-03 Thread Lajos Moczar
Whoops - sorry about the spam. I guess you have to do that at least once in your career ;) Lajos - Please check that your question has not already been answered in the FAQ before posting.

Re: Cocoon 2 Developers Wanted...

2002-10-02 Thread Lajos Moczar
Hi Ernst - I am not based in the area you are looking for, but I have extensive experience with Cocoon and am just wrapping up a book on it. My CV is attached. I do outsource as well as remote work. Please let me know if I can be of assistance. Regards, Lajos Moczar -- galatea.com Cocoon

Re: Cocoon 2.0.3 Tomcat 4.1.10 sub sitemap problem - failed sitemap 'inheritance' - anyone seen this and have any ideas?

2002-09-30 Thread Lajos Moczar
Which is a matter of editing src/java/org/apache/cocoon/components/ExtendedComponentSelector.java, adding the following method at the end of the file and rebuilding Cocoon. public boolean hasComponent(Object hint) { boolean exists = super.hasComponent( hint ); if ( !exists

Re: Is it a good idea to avoid the use of xsp ?

2002-09-12 Thread Lajos Moczar
Hi Gernot - Whether one method is a better or worse idea than another is largely dependent on how you implement it. Yes, XSPs do somewhat violate Separation of Concerns. And yes, you can compare XSPs to JSPs in terms of pitfalls. The fact is, that there are some things you can only do with

Re: JSP Server Page

2002-09-10 Thread Lajos Moczar
Again, that's because you are using 2.0.2. JSPGenerator JSPReader are BROKEN in 2.0.2. Upgrade to 2.0.3 or search the mail archives for the patches I posted for these files in 2.0.2 Lajos Sushil Bhattarai wrote: Hi Like you suggested I put jasper-compiler.jar in WEB-INF/lib. The source

How do SOAP services work in 2.1?

2002-09-09 Thread Lajos Moczar
Quick question - I've tested out the hello.service example (in the samples/hello-world subproject from 2.1) from my SOAP client, and received back the expected XML content in the SOAP response. Then I created my own 'service', by simply having my own pipeline spit out XML. My question is: how

Re: JSP Server Page

2002-09-09 Thread Lajos Moczar
Sushil - You need to patch JSPGenerator and/or JSPReader in 2.0.2 in order to make it work. Or, much easier, upgrade to 2.0.3 Regards, Lajos galatea.com Cocoon training, consulting support Sushil Bhattarai wrote: Hi I have been unable to run the JSP demo that comes with Cocoon2.0.2. I

Re: [Q] Form posting sitemap pattern...

2002-09-04 Thread Lajos Moczar
Hi Per - If you were using the formval logicsheet and the FormValidatorAction, you'd have something like this: map:match pattern=newbook map:act type=form-validator map:parameter name=descriptor value=context://newbook-def.xml/ map:parameter name=validate-set value=add/

Re: could not add record/mysql

2002-09-02 Thread Lajos Moczar
Wolfgang - Make sure you change the pool name not just in cocoon.xconf but anywhere you actually use the pool, like create-empl.xsp. Then bounce your servlet container so Cocoon will reread cocoon.xconf. If you do those things and still have problems, stop Tomcat, delete the work directory

Xms, Xmx, freememory and heapsize

2002-08-19 Thread Lajos Moczar
Hi folks - In January, there was an excellent post (with the same subject line) by Peter Hargreaves describing his experiences and recommendations for setting -Xmx, freememory and heapsize. One of his recommendations was that the value of heapsize should be somewhat less than that of -Xmx (he

Re: clearing all caches

2002-08-19 Thread Lajos Moczar
Delete Tomcat's work directory for your webapp ($CATALINA_HOME/work/Standalone/localhost ...) Lajos Vaskin Kissoyan wrote: I'm sometime seeing changes and sometimes not, how do I make sure everything is be reflected properly? Is there a way to clear Cocoon's cache directly, as I'm

Cocoon 2.1 - empty pages?

2002-07-29 Thread Lajos Moczar
Hi all - I successfully compiled the latest version of 2.1, only to find all the pages empty; i.e., nothing between the body tags. In error.log I get: ERROR (2002-07-29) 12:46.47:099 [access] (Unknown-URI) Unknown-thread/Cocoon Servlet: Cocoon servlet threw an Exception while trying to

Re: Java packages

2002-07-16 Thread Lajos Moczar
You still can keep your concept of Application. I look at Cocoon as a framework, within which my applications run. I make each application a subdirectory off the main directory, and each has its own sitemap. The benefit is that I have a clean sitemap, (i.e. very few map:component definitions

Debugging buggy XSL code

2002-07-16 Thread Lajos Moczar
Hi all - At various times (or versions), I though I have seen Cocoon spit out messages about XSL errors, like The element type xsl:if must be terminated by a matching end-tag. In 2.0.2, these messages come at the Tomcat console window or logs. Wouldn't it be helpful to capture these messages

[SUMMARY] JspReader/JspGenerator in 2.0.2

2002-07-10 Thread Lajos Moczar
Hi all - I've seen several rather frustrated posts from users trying to figure out how to make JspReader and/or JspGenerator work in Cocoon 2.0.2. This email describes how. JspReader Edit src/java/org/apache/cocoon/reading/JSPReader.java and replace the following lines (119-132):

Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
I think I know the answer, but is there any way to construct dynamic queries using SQLTransformer? Specifically, I'd like to build the where clause of my query using either a session attribute or a sitemap parameter. I've been thru the code and don't see that it can be done, but I thought I'd

Re: Getting parameters to SQLTransformer

2002-06-24 Thread Lajos Moczar
://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 10:18 PM To: [EMAIL PROTECTED] Subject: Getting parameters to SQLTransformer I think I know the answer

Re: Lucene and cocoon-view

2002-06-20 Thread Lajos Moczar
click on create button, the created false value turns to true and when I see the statistics page everthing is zero and If I search for any word nothing appears. I checked the log files but nothing helped. Any advice or suggestions? Cheers, Maha On Thu, 20 Jun 2002, Lajos Moczar wrote

Re: URL rewriting solution in FAQ does not do the trick

2002-06-18 Thread Lajos Moczar
Why not do this in $CATALINA_HOME/conf/server.xml: Context path= docBase=cocoon debug=0 reloadable=true/ Regards, Lajos Robert Bourdeau wrote: This is more of an Apache question than a Cocoon question, but hopefully someone will know what I'm doing wrong here. Setup: SPARC Solaris

Re: URL rewriting solution in FAQ does not do the trick

2002-06-18 Thread Lajos Moczar
- -Original Message- From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 5:57 PM To: [EMAIL PROTECTED] Subject: Re: URL rewriting solution in FAQ does not do the trick Why not do this in $CATALINA_HOME/conf/server.xml: Context path

Logging problem with actions subsitemaps?

2002-06-09 Thread Lajos Moczar
It might be because its the end of another long weekend of work, but I'm stumped here. I've got some sub-sitemaps that use various actions like DatabaseAuthenticatorAction, etc. Problem is, none of the debug statements ever show up in the logs. Specifically, I'm trying to figure out why a

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
There is already an action included in Cocoon that does validation. What's nice is that you define the validation parameters in a definition files and the action takes care of applying them. I suppose you might need to define your own action to actually send the data where you want it.

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
Sorry, read logicsheet instead of action. Don't know where my mind has gone ... Lajos Lajos Moczar wrote: There is already an action included in Cocoon that does validation. What's nice is that you define the validation parameters in a definition files and the action takes care

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
web developers could always learn Cocoon ... Vadim Gritsenko wrote: From: Hunsberger, Peter [mailto:[EMAIL PROTECTED]] (remember, you still must have validation on the backend) Precisely my original point: since you have to write the server side validation anyway, do you really want to write

Re: Logging and Form Validation

2002-06-07 Thread Lajos Moczar
Another point worth mentioning is complexity. I have done some sites stuffed so full of JS that things started breaking without any reason. JS has inherent flaws (in my experience) that prevent it from doing the complex sorts of things many clients need. For small-scale validation, no

Re: How is it possible to remove 'files' from a war file?

2002-05-31 Thread Lajos Moczar
mkdir temporarydirectory cd temporarydirectory jar xvf $PATH_TO/cocoon.war rm WEB-INF/lib/xalan-XXX.jar etc. jar cvf cocoon.war * Lajos galatea.com Ian Tindale wrote: I'm following the procedure for installing Cocoon 2.0.2 with Tomcat 4.0.3 with j2sdk1.4.0 and in the instructions it

Re: hsqldb - how do I get rid of this error message (and turn off hsqldb)

2002-05-29 Thread Lajos Moczar
Comment out the hsqldb stuff in cocoon.xconf, unless you really need it. Lajos daniel robinson wrote: List, Is there some comprehensive DB configure doc for C2? I've looked throught the listserv but its very piecemeal (sp?). I keep getting this error from tomcat: Loading catalog:

Re: hsqldb - how do I get rid of this error message (and turn off hsqldb)

2002-05-29 Thread Lajos Moczar
and pgjdbc1.jar (containing org.postresql.Driver) is in Tomcat/common/lib and I have created the sample tables in testdb within PostgreSQL. Help appreciated. Lajos Moczar wrote: Comment out the hsqldb stuff in cocoon.xconf, unless you really need it. Lajos daniel robinson wrote: List

(Re)announcement: Cocoon training in June

2002-05-28 Thread Lajos Moczar
Hi folks - We announced our Cocoon training classes a couple of months ago, but I wanted to remind all you stateside Cocooners that I'll be giving the Cocoon Fundamentals and Advanced Cocoon classes June 11-14 in Denver, CO. If you are interested, check out

Removing batik from Cocoon 2.0.2 build

2002-05-27 Thread Lajos Moczar
Hi all - I've been experimenting in building a Cocoon that doesn't require an X server. I removed batik-all-1.5b1.jar from the build, along with all the svg examples in the sitemap, rebuilt and tried it. I found that in addition to these changes, the FOPSerializer needs to be commented out

Re: Cocoon book reviewers wanted

2002-05-22 Thread Lajos Moczar
For GPL/LGPL, see http://www.gnu.org/copyleft/ Regards, Lajos galatea.com Bert Van Kets wrote: Ah, I definitely need to brush up my understanding of the license agreements. Darn, I hate those legal texts. Does anybody know a good site where all the different license agreements are

Re: Jboss and Tomcat

2002-05-20 Thread Lajos Moczar
Jorge - No question is stupid on this list. After all, we've all been there. JBoss is an EJB container that optionally contains an embedded version of Tomcat. Tomcat by itself is simply a servlet container. Cocoon can run under JBoss/Tomcat or just Tomcat. If you are just starting out with

Re: iPlanet + Cocoon: did anybody try?

2002-05-15 Thread Lajos Moczar
I did, but something (I presume in Cocoon) kept unexpectedly bringing down iPlanet. I ended up switching back to Tomcat. Regards, Lajos Argyn Kuketayev wrote: I must test my reporting module written with Cocoon on jBoss/Tomcat, iPlanet, IBM WAS, BEA WLS. My main concern is iPlanet,

Re: Cocoon 1.8.2 and Tomcat 3.2.1

2002-05-03 Thread Lajos Moczar
Hi Joshua: http://www.galatea.com/flashguides/apache-tomcat-cocoon-win32.xml should help you. Regards, Lajos Joshua Miller wrote: I'm trying to get Cocoon 1.8.2 up and running with Tomcat 3.2.1 on a Windows XP machine. I'm new to Cocoon and I can't seem to get things running.

Re: MySQL

2002-04-26 Thread Lajos Moczar
Istvan - http://www.galatea.com/flashguides/cocoon-tips-2.xml on my site has a section about MySQL and Cocoon. Don't try with JDK 1.4, though. People have recently reported problems with the connections under that JDK. Tisztelettel, Lajos galatea.com Istvan Beszteri wrote: Hi All, Is

Livesites

2002-04-25 Thread Lajos Moczar
Reminder that http://www.galatea.com is happily powered by Cocoon 2.0.2 Thanks. Lajos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To

Re: Memory leaks(?)

2002-04-25 Thread Lajos Moczar
With 1Gb of memory, I suggest starting with something like this and tuning from there: -Xms200m -Xmx600m store-janitor class=org.apache.cocoon.components.store.StoreJanitorImpl logger=core.store-janitor parameter name=freememory

Re: pdf transformation and xml file sizes

2002-04-16 Thread Lajos Moczar
In my experience, it is memory that is the key factor. Running with 512MB allocated to the JVM, I can produce 53 pages of PDF, but no more. I would have thought that SAX-based processing would allow you to process as much as you want, but obviously there is something with PDF documents that

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
I've tested with both, without any problems. Can I see your sitemap entry? Lajos galatea.com Ralph Holz wrote: Hi, I try to use Cocoon 2 to serve WML files, which are the products of an XSL-T transformation. I'd like to test my results with Opera 6 or the Openwave SDK 5.0 (both of

Cocoon 2 powered training site

2002-04-16 Thread Lajos Moczar
, check out http://www.galatea.com/training/courses. Regards, Lajos Moczar galatea.com 800.711.4901 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
Nothing wrong here. I double-checked my own stuff (I use Openwave SDK 5.0 and 4.1) and my pages work just fine. The only thing I can think of is to change the doctype-public and doctype-system setttings for the wml serializer in sitemap.xmap (or define another one with wml 1.3 references). If

Re: serving WML to Opera or Openwave SDK

2002-04-16 Thread Lajos Moczar
Here ya' go. These are taken from one of my courses. I've tested with Opera and 2 versions of the Openwave SDK. Regards, Lajos galatea.com ** sitemap entry * map:match pattern=hello-world.wml map:generate

Re: How to deploy my cocoon project [Apache/Tomcat]

2002-01-31 Thread Lajos Moczar
the lastest version of cocoon2) ... to me, the best solution is to put my project in D:\Myproj I was searching the FAQ and the archives ... but I didn't find a solution... Eduardo. -Original Message- From: Lajos Moczar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 5:06 PM

Re: util.xsl not found problem

2001-11-09 Thread Lajos Moczar
Hi Trevor: You need to check the location of the logicsheet (processor.xsp.logicsheet.util.java = resource://path) in cocoon.properties. I've had several occasions where I simply had to change resource:// to file:// and point to the where they were in the Cocoon 1.8.2 distribution. Not that

Re: [C1] Installation woes [rant AND request] - PLEASE help!

2001-11-08 Thread Lajos Moczar
Sure we're still running 1.8.2; works for my site and probably will until I ever find the time to upgrade to 2.01. Basically, here is how I got it all to work (1.8.2 w/ Tomcat 3.2.2 MySQL on both Linux Win 98): 1) added mysql_comp.jar to Tomcat's classpath (I just edited tomcat.sh

Re: Installing actions

2001-10-31 Thread Lajos Moczar
Kristof, I'm curious about your problem; what version of Cocoon Tomcat are you running? Regards, Lajos galatea.com Jozsa Kristof wrote: Arno, I've tried both the cocoon/WEB-INF/classes/ dir, which should be auto-included due to the Tomcat config, and setting the extra-classpath

Re: How to deploy my cocoon project ?

2001-10-25 Thread Lajos Moczar
... 'cause I delete it from time to time ... (re-build the lastest version of cocoon2) ... to me, the best solution is to put my project in D:\Myproj I was searching the FAQ and the archives ... but I didn't find a solution... Eduardo. -Original Message- From: Lajos Moczar

Re: Cocoon2 Release Candidate?

2001-10-25 Thread Lajos Moczar
Brent, In my experience, anything over and including 2.0rc1a works better with JDK 1.3.0/1. I don't know what your exceptions are, but I run Cocoon2 rc1a with Jdk 1.3 in production on several different OSs without problems. Lajos galatea.com Brent L Johnson wrote: I've been using Cocoon

Delay in mailing list ???

2001-10-25 Thread Lajos Moczar
Hi folks, I'm getting up to a 7-hour delay in receiving posts to this list. Is it just me or is everyone having problems? Regards, Lajos - Please check that your question has not already been answered in the FAQ before

Re: Where to put libs in Tomcat 4.0.1 (without using .war)

2001-10-23 Thread Lajos Moczar
Jorn: I have the same problem, and you're better off copying the relevant stuff from cocoon's WEB-INF to each web app's WEB-INF. In particular, make sure you include all the libs you need (consult the docs for which ones are optional) and create the logs directory. You also, of course, need

Re: HELP for Cocoon2 and Unix

2001-10-22 Thread Lajos Moczar
Comment out the 3 svg* serializers from the map:serializers/ section and the pipeline entries that use those serializers. Lajos galatea.com Andreas Grünhagen wrote: Hello, when I start cocoon2 (with Tomcat 3.3 Beta 2) under Linux or Solaris it always tries to establish a connection to a

Re: cocoon + tomcat in window2000 services

2001-10-21 Thread Lajos Moczar
Hi Ling, What version of Cocoon 2 are you running? I've run 2.0rc1 with Tomcat 3.2.2 after deleting both parser.jar and jaxp.jar, and copying xerces_1_x_x.jar from the Cocoon2 build directory to %TOMCAT_HOME%\lib. That did the trick for me. Lajos galatea.com Ling Kok Choon wrote: Hi,

Re: Request Generator examples

2001-10-19 Thread Lajos Moczar
Hi Luca: I did something like this in my sitemap: map:match pattern=request map:generate type=request/ map:transform src=stylesheets/request.xsl/ map:serialize/ /map:match My request.xsl looks like this: ?xml version=1.0? xsl:stylesheet version=1.0

Re: Deploying xml pages/resources

2001-10-19 Thread Lajos Moczar
serve my xml pages. In C1.x we could instruct TC3 to forward all .xml (and so on) to cocoon.jar. How is it done in C2, does it involve use of site map? Perhaps Lajos Moczar you could help.. Thank you. Allan. __ Do You Yahoo!? Make

Re: Cocoon 1.8.2 and mySQL/ ESQL - hanging?

2001-10-18 Thread Lajos Moczar
Hi Derek: Maybe the JDBC jar came with your version of MySQL? I downloaded mine from http://www.mysql.com/Downloads/Contrib/mm.mysql.jdbc-1.2c.tar.gz. I then had to edit tomcat.bat/sh so it could find the jar file. I initially developed my app on Win98 and then ported it to Linux, but I

Re: session and xsl

2001-10-18 Thread Lajos Moczar
Mark: AFAIK, Tomcat does not by default share session across web applications. If you want that, you need Tomcat 4.0 and then you need to put all web applications in the same Realm object. You might want to take a look at the description of the Host tag in the Tomcat 4.0 documentation. If

Re: Configure a oracle db conection in cocoon2

2001-09-25 Thread Lajos Moczar
the connection with the oracle db. And now our problem is that cocoon doesn´t recognize the esql namespace. How do we have to configure the sitemap in order to recognize the esql namespace? Thak you again and Saludos Cordiales Alberto - Original Message - From: Lajos Moczar [EMAIL

Re: Configure a oracle db conection in cocoon2

2001-09-24 Thread Lajos Moczar
Hi Alberto: Here is what you have to do: 1) Add the Oracle class to Cocoon's web.xml in the init-param section, thus: init-param param-nameload-class/param-name param-value oracle.jdbc.driver.OracleDriver ... // Other database classes /param-value

Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-24 Thread Lajos Moczar
version of Catalina. Getting kinda frustrating. Any ideas will be welcome. Lajos Moczar galatea.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html

Re: include file in apache http.conf

2001-07-20 Thread Lajos Moczar
See my FlashGuide on the subject at http://www.galatea.com. That is the configuration I have running here on my laptop. Lajos [EMAIL PROTECTED] wrote: Hi, I'm a newbie to cocoon. Trying to set up on win98 with apache and tomcat. Apache and tomcat both work fine until I try to include the

Re: C1 to C2

2001-07-17 Thread Lajos Moczar
Andre: You might check out some guides I've written when I was struggling with this stuff. They're at my site, galatea.com (powered by Cocoon 1.8.2 but soon 2.1!). I explain how to get mod_jk working which, as Luca points out, it preferable. If these still can't help you, I'll play around

Re: C1 to C2

2001-07-17 Thread Lajos Moczar
I always point directly to mod_jk.conf-auto in httpd.conf because it will always be up to date. It is created each time Tomcat starts to reflect that latest context information for each webapp. If I have things that I want to add, I just put them in httpd.conf after the include for mod_jk.

Re: C1 to C2

2001-07-12 Thread Lajos Moczar
. Lajos Moczar galatea.com Andre Juffer wrote: Luca Morandini wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andre Juffer Sent: giovedì 12 luglio 2001 15.11 To: [EMAIL PROTECTED] Subject: Re: C1 to C2 Luca Morandini wrote

Re: Servlet error starting cocoon2

2001-07-09 Thread Lajos Moczar
, but on Windows I had to remove parser.jar as well. Then everything worked. Regards, Lajos Moczar galatea.com Daniel Fernández wrote: Attached, you have the HTML page returned by COCOON I've made all posibilities: Make the war, and put it into the webapps. 1- Without the file lib

[C2.0/1] Error in SQLTransformer??

2001-07-09 Thread Lajos Moczar
() method. Anyone know if this is the intended behavior or am I way off here? Lajos Moczar galatea.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html

Re: The sitemap handler's sitemap is not available Help

2001-07-03 Thread Lajos Moczar
I've watched this list for months as others have had this problem, and today I got bit by it myself (Cocoon2b1 w/ Tomcat 3.2.2 on Win 98). Just delete $TOMCAT_HOME/lib/jaxp.jar and $TOMCAT_HOME/lib/parser.jar. That did it for me. Lajos Galatea IS Inc. Kalven Beaver wrote: HelpHelp...

Re: cocoon2 in Windows 98, Tomcat 3.2.1 ?

2001-06-20 Thread Lajos Moczar
I'm doing it. I just downloaded C2b1, compiled, installed and it ran. Unfortunately, it is horrendously slow even w/ 160MB on a Pentium II. Lajos Ling Kok Choon wrote: hi, Can cocoon2 be installed in Windows 98 with Tomcat 3.2.1 as a web server and servlet container ? Thank

Re: Servlet Wrapper Error - C2.1dev + Tomcat4.0b5

2001-06-14 Thread Lajos Moczar
Any link gives me this error. So far I haven't seen a single cocoon2 page on Linux. Tonight I'll try 2.0b1. Lajos giacomo wrote: On Thu, 14 Jun 2001, Lajos Moczar wrote: Well, I'm working with Linux and TC4.0 almost exclusively and don't have faced your problem. Can you tell my when