You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by terracare <te...@mac.com> on 2001/11/11 17:24:23 UTC
Cocoon2, OSX install problem
I'm trying to install Cocoon2 (downloaded from CVS on 11.9.01) on OS X
(version 10.03) and Tomcat (3.23). I followed installation instructions step
by step. As per OSX-specific issues, I was also careful to edit my ant file,
to set JAVA_HOME statically and add the correct path to classes.jar to the
classpath. I assume I don't have to worry about tools.jar on OSX. I believe
I successfully built the Cocoon.war file (i.e. no complaints from ant), but
when I try to access Cocoon via localhost:8080/cocoon/ I get a
java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap.
Checking the log directory within WEB-INF revealed no additional useful
information (for me at least). I'm a little confused, because this class
appears to be located in a cocoon directory within $TOMCAT_HOME/work.
Any tips are greatly appreciated.
Diana
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon2, OSX install problem
Posted by terracare <te...@mac.com>.
Alex,
Thanks for your suggestions. Using Tomcat 4.0.1 worked!
Diana
> Have you tried Tomcat 4.0 (although I wouldn't think that would make a big
> difference).
>
> Sorry I couldn't be of more help... but it just worked for me.
>
> -Alex
>
>
> On Sun, 11 Nov 2001 12:13:49 -0500, terracare wrote:
>
>> I forgot to mention that I also edited the path to tools.jar in build.xml
>> and replaced it with the path to classes.jar. This hasn't worked either...
>>
>>> I'm trying to install Cocoon2 (downloaded from CVS on 11.9.01) on OS X
>>> (version 10.03) and Tomcat (3.23). I followed installation instructions step
>>> by step. As per OSX-specific issues, I was also careful to edit my ant file,
>>> to set JAVA_HOME statically and add the correct path to classes.jar to the
>>> classpath. I assume I don't have to worry about tools.jar on OSX. I believe
>>> I successfully built the Cocoon.war file (i.e. no complaints from ant), but
>>> when I try to access Cocoon via localhost:8080/cocoon/ I get a
>>> java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap.
>>>
>>> Checking the log directory within WEB-INF revealed no additional useful
>>> information (for me at least). I'm a little confused, because this class
>>> appears to be located in a cocoon directory within $TOMCAT_HOME/work.
>>>
>>> Any tips are greatly appreciated.
>>>
>>> Diana
>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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: <co...@xml.apache.org>
>>> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
>> For additional commands, e-mail: <co...@xml.apache.org>
>>
>
>
> ==================================================
> Email: beardie@beardeddragon.org
> Website: http://www.beardeddragon.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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon2, OSX install problem
Posted by "BeardedDragon.org" <ma...@diverman.com>.
Diana,
Hmmm.... I am using different version.... but I didnt change much at all
(asside from JAVA_HOME, and TOMCAT_HOME), and everything worked just fine.
My config tho, is:
OS X 10.1
Tomcat 4.0
and I got Cocoon2 a little while back... from the main DL area.
I am able to build cocoon and install it into the Tomcat directory. I
startup Tomcat using the startup.sh script.
Hmmm... maybe this has something to do with it... I usually have XDarwin
running (the X Windows server for OS X), since I remotely display my Linux
toolbar/apps onto the same monitor. One of the problems I had with
running Cocoon2 on Linux while no X Windows server was running, was that
some things (svg2png, svg2jpeg, and some of the postscript/pdf stuff) use
some AWT library calls that create a dependency on the XWin frame buffer.
I don't think this problem is present in OS X tho, since Apple's Java
libraries are MEANT for OS X. :) In fact, I just tested starting it
all up without the XWin server running, and had no problems accessing the
main cocoon page.
The errors you are getting are with the default installation?
Have you tried Tomcat 4.0 (although I wouldn't think that would make a big
difference).
Sorry I couldn't be of more help... but it just worked for me.
-Alex
On Sun, 11 Nov 2001 12:13:49 -0500, terracare wrote:
> I forgot to mention that I also edited the path to tools.jar in build.xml
> and replaced it with the path to classes.jar. This hasn't worked either...
>
> > I'm trying to install Cocoon2 (downloaded from CVS on 11.9.01) on OS X
> > (version 10.03) and Tomcat (3.23). I followed installation instructions step
> > by step. As per OSX-specific issues, I was also careful to edit my ant file,
> > to set JAVA_HOME statically and add the correct path to classes.jar to the
> > classpath. I assume I don't have to worry about tools.jar on OSX. I believe
> > I successfully built the Cocoon.war file (i.e. no complaints from ant), but
> > when I try to access Cocoon via localhost:8080/cocoon/ I get a
> > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap.
> >
> > Checking the log directory within WEB-INF revealed no additional useful
> > information (for me at least). I'm a little confused, because this class
> > appears to be located in a cocoon directory within $TOMCAT_HOME/work.
> >
> > Any tips are greatly appreciated.
> >
> > Diana
> >
> >
> > ---------------------------------------------------------------------
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
==================================================
Email: beardie@beardeddragon.org
Website: http://www.beardeddragon.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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Cocoon2, OSX install problem
Posted by terracare <te...@mac.com>.
I forgot to mention that I also edited the path to tools.jar in build.xml
and replaced it with the path to classes.jar. This hasn't worked either...
> I'm trying to install Cocoon2 (downloaded from CVS on 11.9.01) on OS X
> (version 10.03) and Tomcat (3.23). I followed installation instructions step
> by step. As per OSX-specific issues, I was also careful to edit my ant file,
> to set JAVA_HOME statically and add the correct path to classes.jar to the
> classpath. I assume I don't have to worry about tools.jar on OSX. I believe
> I successfully built the Cocoon.war file (i.e. no complaints from ant), but
> when I try to access Cocoon via localhost:8080/cocoon/ I get a
> java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap.
>
> Checking the log directory within WEB-INF revealed no additional useful
> information (for me at least). I'm a little confused, because this class
> appears to be located in a cocoon directory within $TOMCAT_HOME/work.
>
> Any tips are greatly appreciated.
>
> Diana
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>