Re: {newbie} how can i create a simple cocoon aplication ...

2002-10-22 Thread Marcel Bariou
Very great persistence to go along the trail...
Curious your remark,  here in World/Europe/France/Palaiseau The Germans of
cocooncenter.de write and speak english as I can see on my screen
;-)

Marcel
- Original Message -
From: José Moreira <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; 'Marcel Bariou' <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 5:39 PM
Subject: RE: {newbie} how can i create a simple cocoon aplication ...


Hello, thanks .. i've been there but its not in english, for that there is
www.cocooncenter.org

Persistence is the key ;)


-Mensagem original-
De: Marcel Bariou [mailto:bariou@;brasnah.com]
Enviada: terça-feira, 22 de Outubro de 2002 15:46
Para: [EMAIL PROTECTED]
Assunto: Re: {newbie} how can i create a simple cocoon aplication ...


Hi José
Simple I don't know but go to this link http://www.cocooncenter.de/ there
are some tutorials. Read and try :-)

Marcel

- Original Message -
From: José Moreira <[EMAIL PROTECTED]>
To: Cocoon User List <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 3:57 PM
Subject: {newbie} how can i create a simple cocoon aplication ...


how can i create a simple cocoon application that reads all my
/var/tomcat4/logs and parses it on an site ?

Also i have read all the documentation and seen some examples on cocoon
+ databases and I still cant create a 'simple' application with forms to
manage a database, for example Postgre ... I read about JNDI etc etc

about loading drivers in the web.xml and etc but still I am lost ...
help ?

*
* José Moreira  *
* Portugal  *
*


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




Re: {newbie} how can i create a simple cocoon aplication ...

2002-10-22 Thread Marcel Bariou
Hi José
Simple I don't know but go to this link http://www.cocooncenter.de/ there
are some tutorials. Read and try :-)

Marcel

- Original Message -
From: José Moreira <[EMAIL PROTECTED]>
To: Cocoon User List <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 3:57 PM
Subject: {newbie} how can i create a simple cocoon aplication ...


how can i create a simple cocoon application that reads all my
/var/tomcat4/logs and parses it on an site ?

Also i have read all the documentation and seen some examples on cocoon
+ databases and I still cant create a 'simple' application with forms to
manage a database, for example Postgre ... I read about JNDI etc etc

about loading drivers in the web.xml and etc but still I am lost ...
help ?

*
* José Moreira  *
* Portugal  *
*


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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. 

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




PHP Generator class PhpGenrator not found

2002-10-22 Thread Marcel Bariou



Tomcat 4.1.12
Cocoon 2.0.3
J2SDK 1.4.1
Linux 2.4.7.10 RH 7.2
Apache 1.3.27
PHP 4.2.3
 
Here are the facts, could somebody brings me some 
light about this issue, please ?
- PHP works correctly !
- Without PHP Cocoon works correctly !
- Insite the main sitemap.xmap of Cocoon, I declare 
Php as a generator with org.apache.cocoon.generators.PhpGenerators as source 
file
- I place phpsrvlt.jar inside 
cocoon.../src/li/optional with the jars.xml update and later I put it also in 
.../jre/lib/ext   (maybe stupid ?)
- Inside the main web.xml inside the Tomcat conf 
directory I declare PHP with net.php.servlet as  element, 
I've some doubt about the class name ?
- Cocoon is built without any error message. 

When I start Cocoon I've an exception, it's enable 
to find the class org.apache.cocoon.generators.PhpGenerator
 
Thanks a lot for your help
 
Marcel Bariou
Merci 
pour votre attention <> Thanks for your interest <> [EMAIL PROTECTED] 
Web Services, Documents, connaissances => http://www.brasnah.fr  



Re: Basic questions about deployment and mount

2002-10-22 Thread Marcel Bariou
Thanks Leo It's OK
Marcel
- Original Message - 
From: leo leonid <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 1:20 PM
Subject: Re: Basic questions about deployment and mount



On Dienstag, Oktober 22, 2002, at 03:58  Uhr, Marcel Bariou wrote:

> Hi everybody
> I've done the cocoon install with apache integration, with JK and so  
> on ... It's OK it works. I check with the  element than It  
> seem I can place the install zone of Cocoon where I want , not  
> necessary in the Tomcat install, it woks (but is that correct ?).
correct

>  After the install I've only the cocoon.war file in place, no more.
> 
> But I don't understand how to deploy in an other way than the use of  
> cocoon.war, could somebody tell me more about. For example how to  
> install the subtree from the build zone of cocoon. The question is, if  
> I want to create a sub application I need the mount directory, but  
> I've no mount directory. Certainly I miss something. Could somebody  
> brings me some light about this issue?
>

You can delete the war-file. Just use the cocoon directory rename it if  
you like to myCocoonProjects.
You can delete all the default files/dirs (samples, etc); just make  
sure you didn't delete the contents of WEB_INF (*.jar, *.conf, etc)
Place all your sub projects in myCocoonProjects, each shoud have a  
sitemap.
Mount your sub projects with a main sitemap located in the root of  
myCocoonProjects.
This should work. In addition, I generally create an explicit Context  
entry in the servlet-conainer configuration.

Hope this helps.
/Leo

> Great Thanks for your help
> Marcel Bariou
> === 
> =
> Merci pour votre attention <> Thanks for your interest <>  
> [EMAIL PROTECTED]
> Web Services, Documents, connaissances => http://www.brasnah.fr
> === 
> = 


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




Basic questions about deployment and mount

2002-10-21 Thread Marcel Bariou



Hi everybody
I've done the cocoon install with apache 
integration, with JK and so on ... It's OK it works. I check with the 
 element than It seem I can place the install zone of Cocoon 
where I want , not necessary in the Tomcat install, it woks (but is that correct 
?). After the install I've only the cocoon.war file in place, no more. 

 
But I don't understand how to deploy in an other 
way than the use of cocoon.war, could somebody tell me more about. For example 
how to install the subtree from the build zone of cocoon. The question is, if I 
want to create a sub application I need the mount directory, but I've no mount 
directory. Certainly I miss something. Could somebody brings me some light about 
this issue? 
Great Thanks for your help
Marcel Bariou
Merci 
pour votre attention <> Thanks for your interest <> [EMAIL PROTECTED] 
Web Services, Documents, connaissances => http://www.brasnah.fr