Re: How to debug COCOON with ECLIPSE and TOMCAT?
Lionel, I followed your instructions, but I still have problems. Tomcat works, but I can't lanch cocoon. it sais: HTTP Status 404 - /cocoon/ type Status report message /cocoon/ description The requested resource (/cocoon/) is not available. Do you have sugestions what am I doing wrong? I get only Tomcat's index.jsp It appears in "work" directory on my eclipse server and that's all! Thank you in advance! Galia Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1I think you have setup the windows-preference-tomcat.I repeat it :1/choose the version you have. 4.1.x is good.2/choose the tomcat root directory3/choose the server.xml file4/i had my tomcat project to my classpath (i'm not sure it's necessary).5/ If you want to debug Tomcat (check the "execute in debug mode)the parameter for the JVM :The JRE by default is not working (or something like that)!!!So you have to change it the another.6/ Go in window-preferences-java-installed JREs7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4)8/notch it.9/Come back to windows-preference-tomcat-JVM parameter10/select the new JVMSome optionnal things :In window-preferences-java-Classpath Variablescreate a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOMEIn the properties of the project :11/java Build Path-source : be sure WEB-INF/classes of your project is here12/java Build Path-librairies : add the cocoon libraries (.jar) and yours.Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME13/Tomcat : I notched "is a tomcat project" (check if this is your context) "update automatically server.xml" and "reloadable = true".Hope that help a little.I may have forgotten some things so tell me.PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/)LionelAt 04:11 04/06/2003 -0700, you wrote:Yes, please! I'll be grateful!GaliaLionel Crine <[EMAIL PROTECTED]>wrote:Sorry I'm lost :Whould you like me to send the configuration for eclipse to work withcocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration?I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia-- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?Free online calendar with sync to Outlook(TM).-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!?Free online calendar with sync to Outlook(TM). Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Re: How to debug COCOON with ECLIPSE and TOMCAT?
don't forget to create a tomcat project pointing to your cocoon root directory. At 06:21 05/06/2003 -0700, you wrote: Lionel, I followed your instructions, but I still have problems. Tomcat works, but I can't lanch cocoon. it sais: HTTP Status 404 - /cocoon/ type Status report message /cocoon/ description The requested resource (/cocoon/) is not available. Do you have sugestions what am I doing wrong? I get only Tomcat's index.jsp It appears in work directory on my eclipse server and that's all! Thank you in advance! Galia Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1 I think you have setup the windows-preference-tomcat. I repeat it : 1/choose the version you have. 4.1.x is good. 2/choose the tomcat root directory 3/choose the server.xml file 4/i had my tomcat project to my classpath (i'm not sure it's necessary). 5/ If you want to debug Tomcat (check the execute in debug mode) the parameter for the JVM : The JRE by default is not working (or something like that)!!! So you have to change it the another. 6/ Go in window-preferences-java-installed JREs 7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4) 8/notch it. 9/Come back to windows-preference-tomcat-JVM parameter 10/select the new JVM Some optionnal things : In window-preferences-java-Classpath Variables create a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOME In the properties of the project : 11/java Build Path-source : be sure WEB-INF/classes of your project is here 12/java Build Path-librairies : add the cocoon libraries (.jar) and yours. Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME 13/Tomcat : I notched is a tomcat project (check if this is your context) update automatically server.xml and reloadable = true. Hope that help a little. I may have forgotten some things so tell me. PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/) Lionel At 04:11 04/06/2003 -0700, you wrote: Yes, please! I'll be grateful! Galia Lionel Crine wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, g Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Perfect! It works! Thank you! Galia ANgelova Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1I think you have setup the windows-preference-tomcat.I repeat it :1/choose the version you have. 4.1.x is good.2/choose the tomcat root directory3/choose the server.xml file4/i had my tomcat project to my classpath (i'm not sure it's necessary).5/ If you want to debug Tomcat (check the "execute in debug mode)the parameter for the JVM :The JRE by default is not working (or something like that)!!!So you have to change it the another.6/ Go in window-preferences-java-installed JREs7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4)8/notch it.9/Come back to windows-preference-tomcat-JVM parameter10/select the new JVMSome optionnal things :In window-preferences-java-Classpath Variablescreate a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOMEIn the properties of the project :11/java Build Path-source : be sure WEB-INF/classes of your project is here12/java Build Path-librairies : add the cocoon libraries (.jar) and yours.Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME13/Tomcat : I notched "is a tomcat project" (check if this is your context) "update automatically server.xml" and "reloadable = true".Hope that help a little.I may have forgotten some things so tell me.PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/)LionelAt 04:11 04/06/2003 -0700, you wrote:Yes, please! I'll be grateful!GaliaLionel Crine <[EMAIL PROTECTED]>wrote:Sorry I'm lost :Whould you like me to send the configuration for eclipse to work withcocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration?I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia-- Best regards, Yury Mikhienko. IT engineer, ZAO "Mobicom-Kavkaz" - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!?Free online calendar with sync to Outlook(TM).-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Re: How to debug COCOON with ECLIPSE and TOMCAT?
I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to debug COCOON with ECLIPSE and TOMCAT?
Hi Lionel, I'm using very successfully the Sysdeo plug-in. And with JDK 1.4 it supports hot-code replacement, you can modify on the fly a Java class without restarting the server. David -Mensaje original- De: Lionel Crine [mailto:[EMAIL PROTECTED] Enviado el: martes, 03 de junio de 2003 16:55 Para: [EMAIL PROTECTED] Asunto: Re: How to debug COCOON with ECLIPSE and TOMCAT? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Haven't done it yet myself, but have you read the Wiki page for Cocoon 2.1? http://wiki.cocoondev.org/Wiki.jsp?page=LoadInEclipse Regards, Upayavira On 4 Jun 2003 at 10:51, Lionel Crine wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
On Wednesday, Jun 4, 2003, at 10:16 Europe/London, Upayavira wrote: Haven't done it yet myself, but have you read the Wiki page for Cocoon 2.1? I've tried that, CVS cocoon and eclipse. Just to let everyone know I encountered some permission issues and I still haven't got Cocoon to build within eclipse. I'm getting some strange results Buildfile: /Users/g4/WORK/cocoon-2.1/src/targets/init-build.xml BUILD FAILED: file:/Users/g4/WORK/cocoon-2.1/src/targets/init-build.xml:3: Config file is not of expected XML type Total time: 577 milliseconds Which it most certainly is, I've also included (as per the footnote in the wiki) the call to target name= if=> property name= value=/> /target> Also within this file, init-build.xml. So I'm not sure if this is the right build file, should it be build.xml? I haven't checked if the above is right for my setup yet but I need to get around to this ;) Other than that it's looking good. http://wiki.cocoondev.org/Wiki.jsp?page=LoadInEclipse Regards, Upayavira On 4 Jun 2003 at 10:51, Lionel Crine wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Yes, please! I'll be grateful! GaliaLionel Crine [EMAIL PROTECTED] wrote: Sorry I'm lost :Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ?If yes, tell me.At 10:43 04/06/2003 +0400, you wrote:But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ?At 07:27 03/06/2003 -0700, you wrote: Hi,I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right?Galia--Best regards,Yury Mikhienko.IT engineer, ZAO "Mobicom-Kavkaz"-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Free online calendar with sync to Outlook(TM).
Re: How to debug COCOON with ECLIPSE and TOMCAT?
Look at build.xml - it's the real build file that uses entities to include the sub-builds (of which init-build.xml is one). The sub-build files are xml fragments and not wellformed, and not build files in and of themselves. That said, I had trouble getting the build to execute from within eclipse, and just build from the command line but do everything else in eclipse. As it's not any trouble at all, haven't bothered to go back and get eclipse configured to build directly. Geoff At 06:13 AM 6/4/2003, you wrote: On Wednesday, Jun 4, 2003, at 10:16 Europe/London, Upayavira wrote: Haven't done it yet myself, but have you read the Wiki page for Cocoon 2.1? I've tried that, CVS cocoon and eclipse. Just to let everyone know I encountered some permission issues and I still haven't got Cocoon to build within eclipse. I'm getting some strange results Buildfile: /Users/g4/WORK/cocoon-2.1/src/targets/init-build.xml BUILD FAILED: file:/Users/g4/WORK/cocoon-2.1/src/targets/init-build.xml:3: Config file is not of expected XML type Total time: 577 milliseconds Which it most certainly is, I've also included (as per the footnote in the wiki) the call to target name=properties if=eclipse.running property name=build.compiler value=org.eclipse.jdt.core.JDTCompilerAdapter/ /target Also within this file, init-build.xml. So I'm not sure if this is the right build file, should it be build.xml? I haven't checked if the above is right for my setup yet but I need to get around to this ;) Other than that it's looking good. http://wiki.cocoondev.org/Wiki.jsp?page=LoadInEclipsehttp://wiki.cocoondev.org/Wiki.jsp?page=LoadInEclipse Regards, Upayavira On 4 Jun 2003 at 10:51, Lionel Crine wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] /blockquote/x-html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
With the tomcat plugin : 2.1 I think you have setup the windows-preference-tomcat. I repeat it : 1/choose the version you have. 4.1.x is good. 2/choose the tomcat root directory 3/choose the server.xml file 4/i had my tomcat project to my classpath (i'm not sure it's necessary). 5/ If you want to debug Tomcat (check the execute in debug mode) the parameter for the JVM : The JRE by default is not working (or something like that)!!! So you have to change it the another. 6/ Go in window-preferences-java-installed JREs 7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4) 8/notch it. 9/Come back to windows-preference-tomcat-JVM parameter 10/select the new JVM Some optionnal things : In window-preferences-java-Classpath Variables create a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOME In the properties of the project : 11/java Build Path-source : be sure WEB-INF/classes of your project is here 12/java Build Path-librairies : add the cocoon libraries (.jar) and yours. Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME 13/Tomcat : I notched is a tomcat project (check if this is your context) update automatically server.xml and reloadable = true. Hope that help a little. I may have forgotten some things so tell me. PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/) Lionel At 04:11 04/06/2003 -0700, you wrote: Yes, please! I'll be grateful! Galia Lionel Crine [EMAIL PROTECTED] wrote: Sorry I'm lost : Whould you like me to send the configuration for eclipse to work with cocoon and tomcat and sdk 1.4 ? If yes, tell me. At 10:43 04/06/2003 +0400, you wrote: But who can send the solution about the using the eclipse in this configuration? I use tomcat cocoon and the sdk 1.4 All is working fine. Do you have an error message ? At 07:27 03/06/2003 -0700, you wrote: Hi, I would like to debug cocoon with eclipse and tomcat. I have the blueskytime plugins for eclipse and tomcat but could not make them debug cocoon. May be there's something i'm not doing right? Galia -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Free http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.comonline calendar with sync to Outlook(TM). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to debug COCOON with ECLIPSE and TOMCAT?
On Wed, 04 Jun 2003 14:33:37 +0200 Lionel Crine [EMAIL PROTECTED] wrote: With the tomcat plugin : 2.1 I think you have setup the windows-preference-tomcat. I repeat it : 1/choose the version you have. 4.1.x is good. 2/choose the tomcat root directory 3/choose the server.xml file 4/i had my tomcat project to my classpath (i'm not sure it's necessary). 5/ If you want to debug Tomcat (check the execute in debug mode) the parameter for the JVM : The JRE by default is not working (or something like that)!!! So you have to change it the another. 6/ Go in window-preferences-java-installed JREs 7/add a new standard VM (the one with your sdk). (for example mine is : d:\software\java\sdk1.4) 8/notch it. 9/Come back to windows-preference-tomcat-JVM parameter 10/select the new JVM Some optionnal things : In window-preferences-java-Classpath Variables create a TOMCAT_HOME identical as CATALINA_HOME - it seems that the plugin uses TOMCAT_HOME In the properties of the project : 11/java Build Path-source : be sure WEB-INF/classes of your project is here 12/java Build Path-librairies : add the cocoon libraries (.jar) and yours. Do pay attention of the message : Build Path entry is missing : TOMCAT_HOME 13/Tomcat : I notched is a tomcat project (check if this is your context) update automatically server.xml and reloadable = true. Hope that help a little. I may have forgotten some things so tell me. PS: With my computer the classpath is not build with eclipse So I had to add all the jars into the libraries (see 12/) Lionel Thank you! Will try. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]