cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lajos Moczar <lm...@galatea.com>
Subject Re: How to deploy my cocoon project [Apache/Tomcat]
Date Thu, 31 Jan 2002 15:25:17 GMT
Hi Derek:

For Tomcat 3.2.x and Apache, see 
http://www.galatea.com/flashguides/apache-tomcat-unix.xml

For Tomcat 4.0.x and Apache, see 
http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml

There are also new instructions on building cocoon-based web apps in 
http://www.galatea.com/flashguides/cocoon-tips-2.xml.

I'm not on the Cocoon mailing list right now, so email me directly if 
you have problems/questions with these instructions.

Regarding your other question, my cocoon.properties are the same between 
my two machines. The tomcat.sh is obviously different from tomcat.bat. 
Do you explicitly put your database jars in the CLASSPATH path in 
tomcat.sh? You might also try Tomcat 4 - you don't have to edit the 
startup script at all. Tomcat 4 is much better at picking up and loading 
jars placed in each webapps WEB-INF/lib.


Regards,

Lajos



Derek Hohls wrote:

> Quick follow-up question:  how do I get "Apache on top of Tomcat" - my
> previous Apache-Tomcat3 link does not work anymore... is there a
> reference for how to do this?
> 
> Thanks
> Derek
> 
> 
> 
>>>>lmocz@galatea.com 25/10/2001 03:12:03 >>>
>>>>
> <Context path="/cocoon" docBase="d:/Myproj" debug="0"
> reloadable="true"/>
> 
> in server.xml. Works for me. Then use Apache on top of Tomcat, if you 
> want to remove the Tomcat port from your URL.
> 
> 
> Lajos
> galatea.com
> 
> 
> Eduardo Godoy Vega wrote:
> 
> 
>>OK,
>>but I don't want to put my project inside %TOMCAT_HOME% tree ...
>>
> '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 [mailto:lmocz@galatea.com] 
>>Sent: Tuesday, October 23, 2001 5:06 PM
>>To: cocoon-users@xml.apache.org 
>>Subject: Re: How to deploy my cocoon project ?
>>
>>
>>If you're not using %TOMCAT_HOME%\webapp\ROOT, you could either
>>
> rename
> 
>>"cocoon" to "ROOT", and restart Tomcat, or edit
>>%TOMCAT_HOME%\conf\server.xml and point the docBase for the ""
>>
> context
> 
>>to webapps/cocoon.
>>
>>Either way, you remove the offending "cocoon" from the URL.
>>
>>Lajos
>>galatea.com
>>
>>
>>Eduardo Godoy Vega wrote:
>>
>>
>>
>>>Hi,
>>>	I wrote and test my "cocoon project" ... right now is on
>>>	%TOMCAT_HOME%\webapps\cocoon\myproj
>>>
>>>	is it possible to deploy it in a different path ?
>>>	for example:
>>>	%TOMCAT_HOME%\webapps\myproj
>>>
>>>	or
>>>	D:\myproj
>>>
>>>Eduardo.
>>>
>>>---------------------------------------------------------------------
>>>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: <cocoon-users-unsubscribe@xml.apache.org>
>>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>>
>>>
>>
>>
>>
> ---------------------------------------------------------------------
> 
>>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: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>>
>>
> ---------------------------------------------------------------------
> 
>>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: <cocoon-users-unsubscribe@xml.apache.org>
>>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message