Re: can't start cocoon under root

2002-07-05 Thread Andrew C. Oliver
True. The processes handling the requests however run as nobody. I suppose one could still find a way to compromise the master process, but I find it way more likely that they'd compromise the children. Furthermore, Its still a horrid idea to run tomcat as root, as you're running *everything* u

Re: Design Assistance

2002-07-05 Thread Jason Foster
My attempt works perfectly in 2.02, so it looks like the HEAD is having a bad day. Jason Foster - Please check that your question has not already been answered in the FAQ before posting.

Re: can't start cocoon under root

2002-07-05 Thread Benoît Clouet
> ->there is an error message in my catalin.out like this: > Xlib: connection to "212.186.159.80:0.0" refused by server > Xlib: No protocol specified > > ->the cocoon page puts out the following > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.InternalError: Can't con

Re: can't start cocoon under root

2002-07-05 Thread Kim Jelmoni
type $xhost+ on a terminal of the user witch started the X server. Kim PS: why you want to start tomcat under roor user ... this is normally a bad idea. Quoting Thomas Garger <[EMAIL PROTECTED]>: > hi! > > i use tomcat 4.0.1, cocoon 2.0.2 and SUSE linux 8.0 > > if i start tomcat under a

strange sitemap problem

2002-07-05 Thread Jens-Christoph Brendel
Hi! As a cocoon newbie I have the following relative strange problem - at least from my point of view. I would highly appreciate any hint or help to put me in the right direction. First I created a simple XML document and a XSLT stylesheet and placed these documents in one of the cocoon sample s

ERROR 10257 "Please specify at least one starting URI" --> cocoon 2.0.2

2002-07-05 Thread Fabian Gaul
Hi ! I have a problem: I have installed Cocoon 2.0.2 on Apache Tomcat 4.0.4 and Apache Webserver 2.0.36. the cocoon installation is complete...cocoon.war, sendmail,I have installed everything what the instruction says. but when I type "run" to run cocoon, it shows me the error: ERROR 10257

Authentication Framework

2002-07-05 Thread Michael Hampel
Hello, I am trying out the authentication framework with Cocoon 2.1 dev. Everything runs fine so far - I only have one problem: If the login fails due to a wrong username I want to redirect the user to the login page displaying an error message why the login failed. In my authentication resource

Cocoon status page

2002-07-05 Thread Artur Bialecki
[ C-2.0.2, JDK1.3.1, Tomkat 4.0.4.b2 ] I deploy the cocoon servlet as part of a j2ee application which uses other servlets as well. So, I don't have the / mapped to cocoon (just *.xsp and *.xml). How can I access Cocoons status page normally accessed with /cocoon/status Thanks, Artur... --

Re: Design Assistance

2002-07-05 Thread Jason Foster
Thanks for the various bits of advice. Right now though, I'm stuck trying to prove that it's possible to use a cocoon pipeline to create a transformer. What I have right now is:

Re: Design Assistance

2002-07-05 Thread Mike Haarman
I see that the driver is using xsl:import for ./docbook.xsl. To clarify: On Fri, 5 Jul 2002, Jason Foster wrote: > a "driver" stylesheet that looks like: > >xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; >version='1.0'> >href="file:///Users/jafoster/Development/doc

Re: Proxy Support instead of mod_jk

2002-07-05 Thread Bruno Dumon
On Fri, 2002-07-05 at 18:21, Thomas Garger wrote: > hi! > > i use now the "Proxy Support" to redirect requests from apache to > tomcat. > couldn't get mod_jk to run. > > is this not so good as mod_jk > Functionally, I don't think there are any disadvantages. mod_jk is probably somewhat faster

Re: can't start cocoon under root

2002-07-05 Thread Bruno Dumon
On Fri, 2002-07-05 at 15:48, Andrew C. Oliver wrote: > Hummm. I'm not running Apache as root (its running as "nobody"). It > responds on port 80. > I'm starting it with apachectl. > If it responds to port 80, the main httpd process is running with root privileges. The user that is used fo

RE: Design Assistance

2002-07-05 Thread Mike Haarman
On Fri, 5 Jul 2002, Piroumian Konstantin wrote: > > From: Jason Foster [mailto:[EMAIL PROTECTED]] > > > > The process that I am envisioning looks something like this... > > Another problem is that the DocBook stylesheets assume that > > there will be > > a "driver" stylesheet that looks like:

Proxy Support instead of mod_jk

2002-07-05 Thread Thomas Garger
hi! i use now the "Proxy Support" to redirect requests from apache to tomcat. couldn't get mod_jk to run. is this not so good as mod_jk greetings, tom -Original Message- From: Bruno Dumon [mailto:[EMAIL PROTECTED]] Sent: Freitag, 05. Juli 2002 11:23 To: [EMAIL PROTECTED] Subject: RE:

RE: Design Assistance

2002-07-05 Thread Piroumian Konstantin
> From: Jason Foster [mailto:[EMAIL PROTECTED]] > > I am in the process of trying to create a Cocoon "baby-block" > that can be > used to generate output from a DocBook source file. I was > hoping that the > group could help me puzzle through the "right way" to > accomplish my goal. > > T

Getting CVS latest and greatest from behind a firewall (was Re: cocoonjaxme transformer!)

2002-07-05 Thread Nicola Ken Barozzi
Werner Guttmann wrote: > Thanks. Now, having said that, I am behind a firewall, iow getting the latest > code from CVS is not an option, and our download puts some further restriction > on me ... well, seems like I'll have to have a look at the source then .. ;-). Try http://sourceforge.net/proj

RE: Ref. : Re: Ref. : Re: cocoon jaxme transformer! (Othman Haddad)

2002-07-05 Thread Piroumian Konstantin
> From: Werner Guttmann [mailto:[EMAIL PROTECTED]] > > Thanks. Now, having said that, I am behind a firewall, iow > getting the latest > code from CVS is not an option, and our download puts some > further restriction > on me ... well, seems like I'll have to have a look at the > source then

Design Assistance

2002-07-05 Thread Jason Foster
I am in the process of trying to create a Cocoon "baby-block" that can be used to generate output from a DocBook source file. I was hoping that the group could help me puzzle through the "right way" to accomplish my goal. The process that I am envisioning looks something like this... 1. The u

Re: Ref. : Re: Ref. : Re: cocoon jaxme transformer! (Othman Haddad)

2002-07-05 Thread Werner Guttmann
Thanks. Now, having said that, I am behind a firewall, iow getting the latest code from CVS is not an option, and our download puts some further restriction on me ... well, seems like I'll have to have a look at the source then .. ;-). As an aside, it seems to have escaped me that Castor XML is ca

sunrise: protected page always redirects to login form

2002-07-05 Thread Simeon Walker
Hello, I am having trouble setting up the sunrise authentication framework. I am using cocoon-2.0.3-dev built with the scratchpad libs. I have contructed a login form and an authentication ressource. When I use the sunRise-auth action to protect a resource the redirect to the login page always t

Problem with jsp in i18n

2002-07-05 Thread kavitha ramesh
Hi, Iam working with i18n in Cocoon.And I have a file called simple.xml which displays a title in English and German.When I converted the simple.xml to a simple.jsp only the front page is displayed.But Iam not able to display it in English and German.Here are the files, simple.jsp, messages_

Re: Multiple Instances / Second does not serve data...

2002-07-05 Thread Michael Wechner
Have you really changed all ports? 8080 (conf/server.xml) 8008 (conf/server.xml) 8005 (conf/server.xml) 9002 (WEB-INF/cocoon.xconf) Maybe you want to use "nmap" or some other port scanning tool. Hope that helps Michael Alexander Schatten wrote: > I am not sure, whether this is a Cocoon co

Re: XML Forms again

2002-07-05 Thread Ivelin Ivanov
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 8:34 AM Subject: XML Forms again Hello, > another issue concerning XML-forms: > In the action for the form processing, the method >filterRequestParameters(..) should be used for val

Re: Multiple Instances / Second does not serve data...

2002-07-05 Thread Michael Mangeng
Hi Log file - messages? One common problem is that the hypersonic sql db cannot startup on the second machine because the port is blocked from the first hsqldb instance. Search for hsql in the 2nd cocoon.xconf and change the port or deaktivate the whole db if this is the problem. greetings mike

Re: [Announcement] Embedding One Web Site in Another with Cocoon (new Component)

2002-07-05 Thread Ivelin Ivanov
I haven't had time to implement the Amazon xsl. I could use some help with it. Any takers? Ivelin - Original Message - From: "Christopher Watson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 4:20 AM Subject: RE: [Announcement] Embedding One Web Site in Anot

Re: Antwort: Re: XML-Forms

2002-07-05 Thread Ivelin Ivanov
In your action which extends AbstractXMLFormAction, you need to do: getForm().getModel(). Read the HOWTO: http://xml.apache.org/cocoon/howto/xmlform-wizard/howto-xmlform-wizard.html Ivelin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 05

Re: PLSQL function returning CLOB

2002-07-05 Thread Christian Haul
On 05.Jul.2002 -- 04:16 PM, [EMAIL PROTECTED] wrote: > getAscii(java.sql.CallableStatement, int) not found in class > org.apache.cocoon.components.language.markup.xsp.EsqlHelper" For the record: fixed in CVS (2.0.3 and HEAD) Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED]

RE: RE: Problem with jsp in i18n

2002-07-05 Thread Piroumian Konstantin
> From: kavitha ramesh [mailto:[EMAIL PROTECTED]] > > Hi Konstantin, > > Thanks for your mail.It is only another extension and Iam not > using any JSP Generator.I use Cocoon 2.0.I have setup my sitemap > as follows: > > > > > > Hope the above solves your problem. Ko

Re: sunrise: protected page always redirects to login form

2002-07-05 Thread Simeon Walker
Hi, I had to use '/test/auth/loggedin' as the redirect url to allow for the ProxyPassReverse directive in Apache (this is not a problem, it's the same if I use port 8080 directly). The errors still occurs. The only visible difference is that the JSESSIONID is now appended to the url (should this

Antwort: Re: XML-Forms

2002-07-05 Thread michael_hampel
Hello, I have another question concerning xmlForms: When I have finished my form processing and mapping to the Bean, I would like to store the results in different databases. So, if I click "finish" on the last page I would have to call an Action, which does the database storing fo

Réf. : Re: formvalidation

2002-07-05 Thread Othman Haddad
right thanks for the answer...   ---Message original---   De : [EMAIL PROTECTED] Date : vendredi 05 juillet 2002 13:06:49 A : [EMAIL PROTECTED]; Othman Haddad Sujet : Re: formvalidation  On 05.Jul.2002

Re: PLSQL function returning CLOB

2002-07-05 Thread Christian Haul
On 05.Jul.2002 -- 02:52 PM, Denis Thierry wrote: > >From oracle: > > PLS-00382 expression is of wrong type > > Cause: An expression has the wrong datatype for the context in which it was > found. > > Action: Change the datatype of the expression. You might want to use > datatype conversion func

PLSQL function returning CLOB

2002-07-05 Thread Jarmo . Blomster
Hi, I use oracle 8.1.7.3 in W2k, JDBC 2 oracle classes using oci8 driver, Tomcat 4.0.4, and Cocoon 2.1-dev. It works fine with varchar2, and string How should I handle a CLOB in included example. There is also commented the esql:get-ascii tag, that gives annother error message, but lets handle

Re: PLSQL function returning CLOB

2002-07-05 Thread Jarmo . Blomster
OK, Of course I should translate it in my first message, I'm relly sorry about my sillyness. Here is it as translated: statement: begin ? := test.tst3; end; : java.sql.SQLException: ORA-06550: line 1, column 35: PLS-00382: expression is of wrong type ORA-06550: line 1, column 15: PL/SQL: Stateme

Re: RE: RE: Problem with jsp in i18n

2002-07-05 Thread kavitha ramesh
Hi Konstantin, I used the sitemap using the transformer.But when I run it , iam getting the page with the title as untranslatedtext.It is not able to dispay the messages from messages_en.xml and messages_de.xml.Please help me,,, Kavitha. On Fri, 05 Jul 2002 Piroumian Konstantin wrote

Re: RE: RE: Problem with jsp in i18n

2002-07-05 Thread kavitha ramesh
Hi Konstantin, I used the sitemap using the transformer.But when I run it , iam getting the page with the title as untranslatedtext.It is not able to dispay the messages from messages_en.xml and messages_de.xml.Please help me,,, Kavitha. On Fri, 05 Jul 2002 Piroumian Konstantin wrote

RE: XML Forms again

2002-07-05 Thread Piroumian Konstantin
> From: [EMAIL PROTECTED] > > Hello, > ... > >Still I am wondering, if I can use the bean used for the > model, outside > of my FormAction or if it is only > possible to use it in this action. The indicates the scope of your instance data (e.g. your bean), so if you set it to 'session

Re: Feature of esql:get-xml?

2002-07-05 Thread Diana Shannon
On Friday, July 5, 2002, at 07:04 AM, Christian Haul wrote: >> ok, I started to write a little docu on the usage of hsqldb and esql: >> http://194.191.122.220:8080/wyona-cms/docs/xdocs/hsqldb.html >> >> Maybe people from Cocoon can use certain parts of it if they want >> Thanks! Just let us kn

Re: RE: RE: Problem with jsp in i18n

2002-07-05 Thread kavitha ramesh
Hi Konstantin, I used the sitemap using the transformer.But when I run it , iam getting the page with the title as untranslatedtext.It is not able to dispay the messages from messages_en.xml and messages_de.xml.Please help me,,, Kavitha. On Fri, 05 Jul 2002 Piroumian Konstantin wrote

Re: PLSQL function returning CLOB

2002-07-05 Thread Jarmo . Blomster
Hi, I think it helped, I think it now understands this CLOB, but the problem is now that I can't get the value of it: the out commented part now bite me like this: http://apache.org/xsp"; xmlns:esql="http://apache.org/cocoon/SQL/v2"; > A Simple XSP Page sapjeda

Re: PLSQL function returning CLOB

2002-07-05 Thread Denis Thierry
>From oracle: PLS-00382 expression is of wrong type Cause: An expression has the wrong datatype for the context in which it was found. Action: Change the datatype of the expression. You might want to use datatype conversion functions. Hope this will help to understand what is wrong! Denis --

Re: can't start cocoon under root

2002-07-05 Thread Andrew C. Oliver
Hummm. I'm not running Apache as root (its running as "nobody"). It responds on port 80. I'm starting it with apachectl. Its generally a better idea to run Apache in front of tomcat for performance reasons. Tomcat is actually pretty slow on the scale of things, where Apache is actually