You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Flavio Costa <li...@nibbana.org.br> on 2003/10/07 15:00:02 UTC

Cocoon / Eclipse

   Hello,

I'm new to this list. I've been using Cocoon from 2.0.4 version as a .war
file, and now I'm trying to debug Cocoon 2.1.1 using Eclipse 2.1.1 and
Tomcat 4.1.18, so I could learn more about Cocoon internals.

Cocoon is running well if I type "cocoon servlet" and navigate to
"http://localhost:8888/". Therefore, I followed LoadInEclipse wiki's
instruction but whenever I go to "http://localhost:8080/cocoon/" Tomcat
gives me a

   HTTP Status 404 - /cocoon/
   The requested resource (/cocoon/) is not available

- I'm using JDK 1.4.0 (Windows 2000).
- The project is *not* shared (CVS).
- I did run Ant from the command prompt, not from Eclipse.
- It's a Tomcat project (Sysdeo plugin), pointing to the "cocoon-2.1.1"
directory generated by Ant.
- DevLoader is deactivated.
- My "context name" is "/cocoon".
- "subdirectory to set as web application root" is "/build/webapp", under
which WEB-INF can be found.
- TOMCAT_HOME/logs files doesn't even mention the word "cocoon", but
Eclipse console shows this context being loaded without any errors.
- Every default option is enabled, included all those blocks that come
with Cocoon, HSQLDB, QuartzSchedulerThread and so on.
- access.log has only one line, "INFO    (2003-10-07) 09:54.21:681  
[access] (Unknown-URI) Unknown-thread/CocoonServlet: Reloading from:
jndi:/localhost/coocon/WEB-INF/cocoon.xconf".
- Besides a few entries in cron.log, every other Cocoon log is empty (0
bytes).

   Help on solving this would be much appreciated. Thanks in advance,

   Flavio Costa




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon / Eclipse

Posted by Flavio Costa <li...@nibbana.org.br>.
Just to inform I found out that my problem reported on the message below
was due to the paths.

I've defined Cocoon distribution dir (where I unpacked it) as the project
path in Eclipse and "/build/webapp" as the web application root. However,
in order to work, the project path should be set directly to the "/build"
subdir and so web application root becomes "/webapp". Now I'm able to
debug Cocoon.

Flavio Costa

> I'm new to this list. I've been using Cocoon from 2.0.4 version as a
> .war file, and now I'm trying to debug Cocoon 2.1.1 using Eclipse 2.1.1
> and Tomcat 4.1.18, so I could learn more about Cocoon internals.
>
> Cocoon is running well if I type "cocoon servlet" and navigate to
> "http://localhost:8888/". Therefore, I followed LoadInEclipse wiki's
> instruction but whenever I go to "http://localhost:8080/cocoon/" Tomcat
> gives me a
>
>    HTTP Status 404 - /cocoon/
>    The requested resource (/cocoon/) is not available
>
> - I'm using JDK 1.4.0 (Windows 2000).
> - The project is *not* shared (CVS).
> - I did run Ant from the command prompt, not from Eclipse.
> - It's a Tomcat project (Sysdeo plugin), pointing to the "cocoon-2.1.1"
> directory generated by Ant.
> - DevLoader is deactivated.
> - My "context name" is "/cocoon".
> - "subdirectory to set as web application root" is "/build/webapp",
> under which WEB-INF can be found.
> - TOMCAT_HOME/logs files doesn't even mention the word "cocoon", but
> Eclipse console shows this context being loaded without any errors. -
> Every default option is enabled, included all those blocks that come
> with Cocoon, HSQLDB, QuartzSchedulerThread and so on.
> - access.log has only one line, "INFO    (2003-10-07) 09:54.21:681
> [access] (Unknown-URI) Unknown-thread/CocoonServlet: Reloading from:
> jndi:/localhost/coocon/WEB-INF/cocoon.xconf".
> - Besides a few entries in cron.log, every other Cocoon log is empty (0
> bytes).




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org