In previous sessions, when I release command
gradlew cleanAll loadDefault ofbiz --info I can access https://localhost:8443/ap/control/main and start to play with OFBiz. Today , I release command gradlew cleanAll loadDefault ofbizDebug --info I can't access https://localhost:8443/ap/control/main . Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). |
Administrator
|
Hi,
You need to start a debugger for OFBiz to continue and be ready. When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log Jacques Le 26/06/2017 à 04:14, Donhu Vy a écrit : > In previous sessions, when I release command > gradlew cleanAll loadDefault ofbiz --info > I can access https://localhost:8443/ap/control/main and start to play with OFBiz. > > Today , I release command > gradlew cleanAll loadDefault ofbizDebug --info > I can't access https://localhost:8443/ap/control/main . > > Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). > > |
Thank Jacques Le Roux,
I don't understand your reply. I want re-present my work step-by-step. I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. At OFBiz's folder (F:\ofbiz), I release command gradlew ofbizDebug (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg When I press button "Debug", I see error: Problem Occurred 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. Details: Launch configuration gradle_remote_debug references closed project ofbiz (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) How to debug OFBiz inside Eclipse IDE? Vy ________________________________ From: Jacques Le Roux <[hidden email]> Sent: Monday, June 26, 2017 1:32:39 PM To: [hidden email] Subject: Re: Can't access webapp in debug model Hi, You need to start a debugger for OFBiz to continue and be ready. When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log Jacques Le 26/06/2017 à 04:14, Donhu Vy a écrit : > In previous sessions, when I release command > gradlew cleanAll loadDefault ofbiz --info > I can access https://localhost:8443/ap/control/main and start to play with OFBiz. > > Today , I release command > gradlew cleanAll loadDefault ofbizDebug --info > I can't access https://localhost:8443/ap/control/main . > > Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). > > |
Administrator
|
Vy,
I don't see what could be missing, seems to be an issue with your debug config. Did you set correctly the Debug Source tab (near Connect tab)? Do you see something in the OFBiz console or console.log? Did you check the Eclipse log? Jacques Le 26/06/2017 à 09:19, Donhu Vy a écrit : > Thank Jacques Le Roux, > > I don't understand your reply. I want re-present my work step-by-step. > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. > > At OFBiz's folder (F:\ofbiz), I release command > > gradlew ofbizDebug > > (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > When I press button "Debug", I see error: > Problem Occurred > 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. > Details: Launch configuration gradle_remote_debug references closed project ofbiz > (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > How to debug OFBiz inside Eclipse IDE? > > > Vy > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 1:32:39 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Hi, > > You need to start a debugger for OFBiz to continue and be ready. > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log > > Jacques > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : >> In previous sessions, when I release command >> gradlew cleanAll loadDefault ofbiz --info >> I can access https://localhost:8443/ap/control/main and start to play with OFBiz. >> >> Today , I release command >> gradlew cleanAll loadDefault ofbizDebug --info >> I can't access https://localhost:8443/ap/control/main . >> >> Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). >> >> > |
I try to clean all things.
gradlew cleanAll loadDefault Indeed, At the previous session, I didn't set anything in tab Source. This session, I set it (like screenshot https://user-images.githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7-8277-9cfc20fed94d.jpg ) Tab Connect still like previous session (https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg ) In CMD, Then I release command: gradlew ofbizDebug CMD console log has nothing. Console screen inside Eclipse IDE also has nothing. Error still looks like previous session (https://user-images.githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7-8c4f-10ba778c94e0.jpg) This is my Eclipse log https://gist.github.com/donhuvy/fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) Help me debug OFBiz! ________________________________ From: Jacques Le Roux <[hidden email]> Sent: Monday, June 26, 2017 2:50:01 PM To: [hidden email] Subject: Re: Can't access webapp in debug model Vy, I don't see what could be missing, seems to be an issue with your debug config. Did you set correctly the Debug Source tab (near Connect tab)? Do you see something in the OFBiz console or console.log? Did you check the Eclipse log? Jacques Le 26/06/2017 à 09:19, Donhu Vy a écrit : > Thank Jacques Le Roux, > > I don't understand your reply. I want re-present my work step-by-step. > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. > > At OFBiz's folder (F:\ofbiz), I release command > > gradlew ofbizDebug > > (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > When I press button "Debug", I see error: > Problem Occurred > 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. > Details: Launch configuration gradle_remote_debug references closed project ofbiz > (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > How to debug OFBiz inside Eclipse IDE? > > > Vy > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 1:32:39 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Hi, > > You need to start a debugger for OFBiz to continue and be ready. > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log > > Jacques > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : >> In previous sessions, when I release command >> gradlew cleanAll loadDefault ofbiz --info >> I can access https://localhost:8443/ap/control/main and start to play with OFBiz. >> >> Today , I release command >> gradlew cleanAll loadDefault ofbizDebug --info >> I can't access https://localhost:8443/ap/control/main . >> >> Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). >> >> > |
In reply to this post by Donhu Vy
"Launch configuration gradle_remote_debug references closed project ofbiz."
Is your project "ofbiz" open in Eclipse? Regards, Michael Brohl ecomify GmbH www.ecomify.de Am 26.06.17 um 09:19 schrieb Donhu Vy: > Thank Jacques Le Roux, > > I don't understand your reply. I want re-present my work step-by-step. > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. > > At OFBiz's folder (F:\ofbiz), I release command > > gradlew ofbizDebug > > (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > When I press button "Debug", I see error: > Problem Occurred > 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. > Details: Launch configuration gradle_remote_debug references closed project ofbiz > (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > How to debug OFBiz inside Eclipse IDE? > > > Vy > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 1:32:39 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Hi, > > You need to start a debugger for OFBiz to continue and be ready. > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log > > Jacques > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : >> In previous sessions, when I release command >> gradlew cleanAll loadDefault ofbiz --info >> I can access https://localhost:8443/ap/control/main and start to play with OFBiz. >> >> Today , I release command >> gradlew cleanAll loadDefault ofbizDebug --info >> I can't access https://localhost:8443/ap/control/main . >> >> Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). >> >> > smime.p7s (5K) Download Attachment |
In reply to this post by Donhu Vy
Did you run gradlew eclipse?
On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > I try to clean all things. > gradlew cleanAll loadDefault > > Indeed, At the previous session, I didn't set anything in tab Source. This > session, I set it (like screenshot https://user-images. > githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > 8277-9cfc20fed94d.jpg ) > > Tab Connect still like previous session (https://user-images. > githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > 865f-581a353b94d2.jpg ) > In CMD, Then I release command: > gradlew ofbizDebug > > CMD console log has nothing. Console screen inside Eclipse IDE also has > nothing. > > Error still looks like previous session (https://user-images. > githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > 8c4f-10ba778c94e0.jpg) > > This is my Eclipse log https://gist.github.com/donhuvy/ > fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > > Help me debug OFBiz! > > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 2:50:01 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Vy, > > I don't see what could be missing, seems to be an issue with your debug > config. > > Did you set correctly the Debug Source tab (near Connect tab)? > > Do you see something in the OFBiz console or console.log? > > Did you check the Eclipse log? > > Jacques > > Le 26/06/2017 à 09:19, Donhu Vy a écrit : > > Thank Jacques Le Roux, > > > > I don't understand your reply. I want re-present my work step-by-step. > > > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > Eclipse Neon 3. > > > > At OFBiz's folder (F:\ofbiz), I release command > > > > gradlew ofbizDebug > > > > (screenshot: https://user-images.githubusercontent.com/1328316/ > 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > > > At Debug configuration windows, I set configuration like screenshot > https://user-images.githubusercontent.com/1328316/ > 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > > > When I press button "Debug", I see error: > > Problem Occurred > > 'Launching gradle_remote_debug' has encountered a problem. Launch > configuration gradle_remote_debug references closed project ofbiz. > > Details: Launch configuration gradle_remote_debug references closed > project ofbiz > > (Screenshot: https://user-images.githubusercontent.com/1328316/ > 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > > > How to debug OFBiz inside Eclipse IDE? > > > > > > Vy > > > > ________________________________ > > From: Jacques Le Roux <[hidden email]> > > Sent: Monday, June 26, 2017 1:32:39 PM > > To: [hidden email] > > Subject: Re: Can't access webapp in debug model > > > > Hi, > > > > You need to start a debugger for OFBiz to continue and be ready. > > > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > continue. You can see that in the console or console.log > > > > Jacques > > > > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : > >> In previous sessions, when I release command > >> gradlew cleanAll loadDefault ofbiz --info > >> I can access https://localhost:8443/ap/control/main and start to play > with OFBiz. > >> > >> Today , I release command > >> gradlew cleanAll loadDefault ofbizDebug --info > >> I can't access https://localhost:8443/ap/control/main . > >> > >> Please help me explain why. I want dive inside to source code and start > make something small (for example: a widget, or tweak few lines of code). > >> > >> > > > > |
In reply to this post by Michael Brohl-3
>"Launch configuration gradle_remote_debug references closed project ofbiz."
> Is your project "ofbiz" open in Eclipse? --> I don't know how to determine name of project in Eclipse in this case. I named it is ofbiz (Like document: https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse "Pick ofbiz for the project") ________________________________ From: Michael Brohl <[hidden email]> Sent: Monday, June 26, 2017 3:21:34 PM To: [hidden email] Subject: Re: Can't access webapp in debug model "Launch configuration gradle_remote_debug references closed project ofbiz." Is your project "ofbiz" open in Eclipse? Regards, Michael Brohl ecomify GmbH www.ecomify.de<http://www.ecomify.de> Am 26.06.17 um 09:19 schrieb Donhu Vy: > Thank Jacques Le Roux, > > I don't understand your reply. I want re-present my work step-by-step. > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. > > At OFBiz's folder (F:\ofbiz), I release command > > gradlew ofbizDebug > > (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > When I press button "Debug", I see error: > Problem Occurred > 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. > Details: Launch configuration gradle_remote_debug references closed project ofbiz > (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > How to debug OFBiz inside Eclipse IDE? > > > Vy > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 1:32:39 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Hi, > > You need to start a debugger for OFBiz to continue and be ready. > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log > > Jacques > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : >> In previous sessions, when I release command >> gradlew cleanAll loadDefault ofbiz --info >> I can access https://localhost:8443/ap/control/main and start to play with OFBiz. >> >> Today , I release command >> gradlew cleanAll loadDefault ofbizDebug --info >> I can't access https://localhost:8443/ap/control/main . >> >> Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). >> >> > |
In reply to this post by taher
> Did you run gradlew eclipse?
--> I release all Gradle-related commands from CMD. ________________________________ From: Taher Alkhateeb <[hidden email]> Sent: Monday, June 26, 2017 3:22:35 PM To: [hidden email] Subject: Re: Can't access webapp in debug model Did you run gradlew eclipse? On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > I try to clean all things. > gradlew cleanAll loadDefault > > Indeed, At the previous session, I didn't set anything in tab Source. This > session, I set it (like screenshot https://user-images. > githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > 8277-9cfc20fed94d.jpg ) > > Tab Connect still like previous session (https://user-images. > githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > 865f-581a353b94d2.jpg ) > In CMD, Then I release command: > gradlew ofbizDebug > > CMD console log has nothing. Console screen inside Eclipse IDE also has > nothing. > > Error still looks like previous session (https://user-images. > githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > 8c4f-10ba778c94e0.jpg) > > This is my Eclipse log https://gist.github.com/donhuvy/ > fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > > Help me debug OFBiz! > > > ________________________________ > From: Jacques Le Roux <[hidden email]> > Sent: Monday, June 26, 2017 2:50:01 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Vy, > > I don't see what could be missing, seems to be an issue with your debug > config. > > Did you set correctly the Debug Source tab (near Connect tab)? > > Do you see something in the OFBiz console or console.log? > > Did you check the Eclipse log? > > Jacques > > Le 26/06/2017 à 09:19, Donhu Vy a écrit : > > Thank Jacques Le Roux, > > > > I don't understand your reply. I want re-present my work step-by-step. > > > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > Eclipse Neon 3. > > > > At OFBiz's folder (F:\ofbiz), I release command > > > > gradlew ofbizDebug > > > > (screenshot: https://user-images.githubusercontent.com/1328316/ > 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > > > At Debug configuration windows, I set configuration like screenshot > https://user-images.githubusercontent.com/1328316/ > 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > > > When I press button "Debug", I see error: > > Problem Occurred > > 'Launching gradle_remote_debug' has encountered a problem. Launch > configuration gradle_remote_debug references closed project ofbiz. > > Details: Launch configuration gradle_remote_debug references closed > project ofbiz > > (Screenshot: https://user-images.githubusercontent.com/1328316/ > 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > > > How to debug OFBiz inside Eclipse IDE? > > > > > > Vy > > > > ________________________________ > > From: Jacques Le Roux <[hidden email]> > > Sent: Monday, June 26, 2017 1:32:39 PM > > To: [hidden email] > > Subject: Re: Can't access webapp in debug model > > > > Hi, > > > > You need to start a debugger for OFBiz to continue and be ready. > > > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > continue. You can see that in the console or console.log > > > > Jacques > > > > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : > >> In previous sessions, when I release command > >> gradlew cleanAll loadDefault ofbiz --info > >> I can access https://localhost:8443/ap/control/main and start to play > with OFBiz. > >> > >> Today , I release command > >> gradlew cleanAll loadDefault ofbizDebug --info > >> I can't access https://localhost:8443/ap/control/main . > >> > >> Please help me explain why. I want dive inside to source code and start > make something small (for example: a widget, or tweak few lines of code). > >> > >> > > > > |
Administrator
|
In reply to this post by Donhu Vy
Vy,
Taher and Michael simply mean did you run "gradlew eclipse" from the command the line? This creates the information needed by Eclipse to correctly handle OFBiz You can run this command at any moment, just Eclipse may complain and then you have to refresh. Something to add in the wiki BTW, will do! Jacques Le 26/06/2017 à 10:26, Donhu Vy a écrit : >> "Launch configuration gradle_remote_debug references closed project ofbiz." >> Is your project "ofbiz" open in Eclipse? > --> I don't know how to determine name of project in Eclipse in this case. I named it is ofbiz (Like document: https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse "Pick ofbiz for the project") > > > ________________________________ > From: Michael Brohl <[hidden email]> > Sent: Monday, June 26, 2017 3:21:34 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > "Launch configuration gradle_remote_debug references closed project ofbiz." > > Is your project "ofbiz" open in Eclipse? > > Regards, > > Michael Brohl > ecomify GmbH > www.ecomify.de<http://www.ecomify.de> > > > Am 26.06.17 um 09:19 schrieb Donhu Vy: >> Thank Jacques Le Roux, >> >> I don't understand your reply. I want re-present my work step-by-step. >> >> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, Eclipse Neon 3. >> >> At OFBiz's folder (F:\ofbiz), I release command >> >> gradlew ofbizDebug >> >> (screenshot: https://user-images.githubusercontent.com/1328316/27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) >> >> At Debug configuration windows, I set configuration like screenshot https://user-images.githubusercontent.com/1328316/27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg >> >> When I press button "Debug", I see error: >> Problem Occurred >> 'Launching gradle_remote_debug' has encountered a problem. Launch configuration gradle_remote_debug references closed project ofbiz. >> Details: Launch configuration gradle_remote_debug references closed project ofbiz >> (Screenshot: https://user-images.githubusercontent.com/1328316/27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) >> >> How to debug OFBiz inside Eclipse IDE? >> >> >> Vy >> >> ________________________________ >> From: Jacques Le Roux <[hidden email]> >> Sent: Monday, June 26, 2017 1:32:39 PM >> To: [hidden email] >> Subject: Re: Can't access webapp in debug model >> >> Hi, >> >> You need to start a debugger for OFBiz to continue and be ready. >> >> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to continue. You can see that in the console or console.log >> >> Jacques >> >> >> Le 26/06/2017 à 04:14, Donhu Vy a écrit : >>> In previous sessions, when I release command >>> gradlew cleanAll loadDefault ofbiz --info >>> I can access https://localhost:8443/ap/control/main and start to play with OFBiz. >>> >>> Today , I release command >>> gradlew cleanAll loadDefault ofbizDebug --info >>> I can't access https://localhost:8443/ap/control/main . >>> >>> Please help me explain why. I want dive inside to source code and start make something small (for example: a widget, or tweak few lines of code). >>> >>> > > |
In reply to this post by Donhu Vy
Hi Vy,
it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. And, why are these other maven?! How did you import the project? Regards, Daniel On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: > > Did you run gradlew eclipse? > > --> I release all Gradle-related commands from CMD. > > ________________________________ > From: Taher Alkhateeb <[hidden email]> > Sent: Monday, June 26, 2017 3:22:35 PM > To: [hidden email] > Subject: Re: Can't access webapp in debug model > > Did you run gradlew eclipse? > > On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > > > I try to clean all things. > > gradlew cleanAll loadDefault > > > > Indeed, At the previous session, I didn't set anything in tab Source. This > > session, I set it (like screenshot https://user-images. > > githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > > 8277-9cfc20fed94d.jpg ) > > > > Tab Connect still like previous session (https://user-images. > > githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > > 865f-581a353b94d2.jpg ) > > In CMD, Then I release command: > > gradlew ofbizDebug > > > > CMD console log has nothing. Console screen inside Eclipse IDE also has > > nothing. > > > > Error still looks like previous session (https://user-images. > > githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > > 8c4f-10ba778c94e0.jpg) > > > > This is my Eclipse log https://gist.github.com/donhuvy/ > > fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > > > > Help me debug OFBiz! > > > > > > ________________________________ > > From: Jacques Le Roux <[hidden email]> > > Sent: Monday, June 26, 2017 2:50:01 PM > > To: [hidden email] > > Subject: Re: Can't access webapp in debug model > > > > Vy, > > > > I don't see what could be missing, seems to be an issue with your debug > > config. > > > > Did you set correctly the Debug Source tab (near Connect tab)? > > > > Do you see something in the OFBiz console or console.log? > > > > Did you check the Eclipse log? > > > > Jacques > > > > Le 26/06/2017 à 09:19, Donhu Vy a écrit : > > > Thank Jacques Le Roux, > > > > > > I don't understand your reply. I want re-present my work step-by-step. > > > > > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > > Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > > Eclipse Neon 3. > > > > > > At OFBiz's folder (F:\ofbiz), I release command > > > > > > gradlew ofbizDebug > > > > > > (screenshot: https://user-images.githubusercontent.com/1328316/ > > 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > > > > > At Debug configuration windows, I set configuration like screenshot > > https://user-images.githubusercontent.com/1328316/ > > 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > > > > > When I press button "Debug", I see error: > > > Problem Occurred > > > 'Launching gradle_remote_debug' has encountered a problem. Launch > > configuration gradle_remote_debug references closed project ofbiz. > > > Details: Launch configuration gradle_remote_debug references closed > > project ofbiz > > > (Screenshot: https://user-images.githubusercontent.com/1328316/ > > 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > > > > > How to debug OFBiz inside Eclipse IDE? > > > > > > > > > Vy > > > > > > ________________________________ > > > From: Jacques Le Roux <[hidden email]> > > > Sent: Monday, June 26, 2017 1:32:39 PM > > > To: [hidden email] > > > Subject: Re: Can't access webapp in debug model > > > > > > Hi, > > > > > > You need to start a debugger for OFBiz to continue and be ready. > > > > > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > > continue. You can see that in the console or console.log > > > > > > Jacques > > > > > > > > > Le 26/06/2017 à 04:14, Donhu Vy a écrit : > > >> In previous sessions, when I release command > > >> gradlew cleanAll loadDefault ofbiz --info > > >> I can access https://localhost:8443/ap/control/main and start to play > > with OFBiz. > > >> > > >> Today , I release command > > >> gradlew cleanAll loadDefault ofbizDebug --info > > >> I can't access https://localhost:8443/ap/control/main . > > >> > > >> Please help me explain why. I want dive inside to source code and start > > make something small (for example: a widget, or tweak few lines of code). > > >> > > >> > > > > > > > > |
Administrator
|
Well spotted Daniel,
Vy, if you run "gradlew eclipse" it will generate the .project and .classpath files which are used by Eclipse to handle OFBiz So it seems you just miss that... Jacques Le 26/06/2017 à 20:23, Daniel Coric a écrit : > Hi Vy, > > it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. > You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. > And, why are these other maven?! How did you import the project? > > Regards, > Daniel > > On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: >>> Did you run gradlew eclipse? >> --> I release all Gradle-related commands from CMD. >> >> ________________________________ >> From: Taher Alkhateeb <[hidden email]> >> Sent: Monday, June 26, 2017 3:22:35 PM >> To: [hidden email] >> Subject: Re: Can't access webapp in debug model >> >> Did you run gradlew eclipse? >> >> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: >> >>> I try to clean all things. >>> gradlew cleanAll loadDefault >>> >>> Indeed, At the previous session, I didn't set anything in tab Source. This >>> session, I set it (like screenshot https://user-images. >>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- >>> 8277-9cfc20fed94d.jpg ) >>> >>> Tab Connect still like previous session (https://user-images. >>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- >>> 865f-581a353b94d2.jpg ) >>> In CMD, Then I release command: >>> gradlew ofbizDebug >>> >>> CMD console log has nothing. Console screen inside Eclipse IDE also has >>> nothing. >>> >>> Error still looks like previous session (https://user-images. >>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- >>> 8c4f-10ba778c94e0.jpg) >>> >>> This is my Eclipse log https://gist.github.com/donhuvy/ >>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) >>> >>> Help me debug OFBiz! >>> >>> >>> ________________________________ >>> From: Jacques Le Roux <[hidden email]> >>> Sent: Monday, June 26, 2017 2:50:01 PM >>> To: [hidden email] >>> Subject: Re: Can't access webapp in debug model >>> >>> Vy, >>> >>> I don't see what could be missing, seems to be an issue with your debug >>> config. >>> >>> Did you set correctly the Debug Source tab (near Connect tab)? >>> >>> Do you see something in the OFBiz console or console.log? >>> >>> Did you check the Eclipse log? >>> >>> Jacques >>> >>> Le 26/06/2017 à 09:19, Donhu Vy a écrit : >>>> Thank Jacques Le Roux, >>>> >>>> I don't understand your reply. I want re-present my work step-by-step. >>>> >>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ >>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, >>> Eclipse Neon 3. >>>> At OFBiz's folder (F:\ofbiz), I release command >>>> >>>> gradlew ofbizDebug >>>> >>>> (screenshot: https://user-images.githubusercontent.com/1328316/ >>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) >>>> At Debug configuration windows, I set configuration like screenshot >>> https://user-images.githubusercontent.com/1328316/ >>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg >>>> When I press button "Debug", I see error: >>>> Problem Occurred >>>> 'Launching gradle_remote_debug' has encountered a problem. Launch >>> configuration gradle_remote_debug references closed project ofbiz. >>>> Details: Launch configuration gradle_remote_debug references closed >>> project ofbiz >>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ >>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) >>>> How to debug OFBiz inside Eclipse IDE? >>>> >>>> >>>> Vy >>>> >>>> ________________________________ >>>> From: Jacques Le Roux <[hidden email]> >>>> Sent: Monday, June 26, 2017 1:32:39 PM >>>> To: [hidden email] >>>> Subject: Re: Can't access webapp in debug model >>>> >>>> Hi, >>>> >>>> You need to start a debugger for OFBiz to continue and be ready. >>>> >>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to >>> continue. You can see that in the console or console.log >>>> Jacques >>>> >>>> >>>> Le 26/06/2017 à 04:14, Donhu Vy a écrit : >>>>> In previous sessions, when I release command >>>>> gradlew cleanAll loadDefault ofbiz --info >>>>> I can access https://localhost:8443/ap/control/main and start to play >>> with OFBiz. >>>>> Today , I release command >>>>> gradlew cleanAll loadDefault ofbizDebug --info >>>>> I can't access https://localhost:8443/ap/control/main . >>>>> >>>>> Please help me explain why. I want dive inside to source code and start >>> make something small (for example: a widget, or tweak few lines of code). >>>>> >>> |
In reply to this post by Daniel Coric
Sorry for that dot at the end of the image link (the reason why the link doesn't work - so, without it please).
On 2017-06-26 20:23 (+0200), "Daniel Coric"<[hidden email]> wrote: > Hi Vy, > > it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg > You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. > And, why are these other maven?! How did you import the project? > > Regards, > Daniel > > On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: > > > Did you run gradlew eclipse? > > > > --> I release all Gradle-related commands from CMD. > > > > ________________________________ > > From: Taher Alkhateeb <[hidden email]> > > Sent: Monday, June 26, 2017 3:22:35 PM > > To: [hidden email] > > Subject: Re: Can't access webapp in debug model > > > > Did you run gradlew eclipse? > > > > On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > > > > > I try to clean all things. > > > gradlew cleanAll loadDefault > > > > > > Indeed, At the previous session, I didn't set anything in tab Source. This > > > session, I set it (like screenshot https://user-images. > > > githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > > > 8277-9cfc20fed94d.jpg ) > > > > > > Tab Connect still like previous session (https://user-images. > > > githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > > > 865f-581a353b94d2.jpg ) > > > In CMD, Then I release command: > > > gradlew ofbizDebug > > > > > > CMD console log has nothing. Console screen inside Eclipse IDE also has > > > nothing. > > > > > > Error still looks like previous session (https://user-images. > > > githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > > > 8c4f-10ba778c94e0.jpg) > > > > > > This is my Eclipse log https://gist.github.com/donhuvy/ > > > fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > > > > > > Help me debug OFBiz! > > > > > > > > > ________________________________ > > > From: Jacques Le Roux <[hidden email]> > > > Sent: Monday, June 26, 2017 2:50:01 PM > > > To: [hidden email] > > > Subject: Re: Can't access webapp in debug model > > > > > > Vy, > > > > > > I don't see what could be missing, seems to be an issue with your debug > > > config. > > > > > > Did you set correctly the Debug Source tab (near Connect tab)? > > > > > > Do you see something in the OFBiz console or console.log? > > > > > > Did you check the Eclipse log? > > > > > > Jacques > > > > > > Le 26/06/2017 à09:19, Donhu Vy a écrit : > > > > Thank Jacques Le Roux, > > > > > > > > I don't understand your reply. I want re-present my work step-by-step. > > > > > > > > I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > > > Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > > > Eclipse Neon 3. > > > > > > > > At OFBiz's folder (F:\ofbiz), I release command > > > > > > > > gradlew ofbizDebug > > > > > > > > (screenshot: https://user-images.githubusercontent.com/1328316/ > > > 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > > > > > > > At Debug configuration windows, I set configuration like screenshot > > > https://user-images.githubusercontent.com/1328316/ > > > 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > > > > > > > When I press button "Debug", I see error: > > > > Problem Occurred > > > > 'Launching gradle_remote_debug' has encountered a problem. Launch > > > configuration gradle_remote_debug references closed project ofbiz. > > > > Details: Launch configuration gradle_remote_debug references closed > > > project ofbiz > > > > (Screenshot: https://user-images.githubusercontent.com/1328316/ > > > 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > > > > > > > How to debug OFBiz inside Eclipse IDE? > > > > > > > > > > > > Vy > > > > > > > > ________________________________ > > > > From: Jacques Le Roux <[hidden email]> > > > > Sent: Monday, June 26, 2017 1:32:39 PM > > > > To: [hidden email] > > > > Subject: Re: Can't access webapp in debug model > > > > > > > > Hi, > > > > > > > > You need to start a debugger for OFBiz to continue and be ready. > > > > > > > > When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > > > continue. You can see that in the console or console.log > > > > > > > > Jacques > > > > > > > > > > > > Le 26/06/2017 à04:14, Donhu Vy a écrit : > > > >> In previous sessions, when I release command > > > >> gradlew cleanAll loadDefault ofbiz --info > > > >> I can access https://localhost:8443/ap/control/main and start to play > > > with OFBiz. > > > >> > > > >> Today , I release command > > > >> gradlew cleanAll loadDefault ofbizDebug --info > > > >> I can't access https://localhost:8443/ap/control/main . > > > >> > > > >> Please help me explain why. I want dive inside to source code and start > > > make something small (for example: a widget, or tweak few lines of code). > > > >> > > > >> > > > > > > > > > > > > > |
Administrator
|
It works well here :)
Le 26/06/2017 à 20:35, Daniel Coric a écrit : > Sorry for that dot at the end of the image link (the reason why the link doesn't work - so, without it please). > > On 2017-06-26 20:23 (+0200), "Daniel Coric"<[hidden email]> wrote: >> Hi Vy, >> >> it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg >> You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. >> And, why are these other maven?! How did you import the project? >> >> Regards, >> Daniel >> >> On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: >>>> Did you run gradlew eclipse? >>> --> I release all Gradle-related commands from CMD. >>> >>> ________________________________ >>> From: Taher Alkhateeb <[hidden email]> >>> Sent: Monday, June 26, 2017 3:22:35 PM >>> To: [hidden email] >>> Subject: Re: Can't access webapp in debug model >>> >>> Did you run gradlew eclipse? >>> >>> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: >>> >>>> I try to clean all things. >>>> gradlew cleanAll loadDefault >>>> >>>> Indeed, At the previous session, I didn't set anything in tab Source. This >>>> session, I set it (like screenshot https://user-images. >>>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- >>>> 8277-9cfc20fed94d.jpg ) >>>> >>>> Tab Connect still like previous session (https://user-images. >>>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- >>>> 865f-581a353b94d2.jpg ) >>>> In CMD, Then I release command: >>>> gradlew ofbizDebug >>>> >>>> CMD console log has nothing. Console screen inside Eclipse IDE also has >>>> nothing. >>>> >>>> Error still looks like previous session (https://user-images. >>>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- >>>> 8c4f-10ba778c94e0.jpg) >>>> >>>> This is my Eclipse log https://gist.github.com/donhuvy/ >>>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) >>>> >>>> Help me debug OFBiz! >>>> >>>> >>>> ________________________________ >>>> From: Jacques Le Roux <[hidden email]> >>>> Sent: Monday, June 26, 2017 2:50:01 PM >>>> To: [hidden email] >>>> Subject: Re: Can't access webapp in debug model >>>> >>>> Vy, >>>> >>>> I don't see what could be missing, seems to be an issue with your debug >>>> config. >>>> >>>> Did you set correctly the Debug Source tab (near Connect tab)? >>>> >>>> Do you see something in the OFBiz console or console.log? >>>> >>>> Did you check the Eclipse log? >>>> >>>> Jacques >>>> >>>> Le 26/06/2017 à09:19, Donhu Vy a écrit : >>>>> Thank Jacques Le Roux, >>>>> >>>>> I don't understand your reply. I want re-present my work step-by-step. >>>>> >>>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ >>>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, >>>> Eclipse Neon 3. >>>>> At OFBiz's folder (F:\ofbiz), I release command >>>>> >>>>> gradlew ofbizDebug >>>>> >>>>> (screenshot: https://user-images.githubusercontent.com/1328316/ >>>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) >>>>> At Debug configuration windows, I set configuration like screenshot >>>> https://user-images.githubusercontent.com/1328316/ >>>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg >>>>> When I press button "Debug", I see error: >>>>> Problem Occurred >>>>> 'Launching gradle_remote_debug' has encountered a problem. Launch >>>> configuration gradle_remote_debug references closed project ofbiz. >>>>> Details: Launch configuration gradle_remote_debug references closed >>>> project ofbiz >>>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ >>>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) >>>>> How to debug OFBiz inside Eclipse IDE? >>>>> >>>>> >>>>> Vy >>>>> >>>>> ________________________________ >>>>> From: Jacques Le Roux <[hidden email]> >>>>> Sent: Monday, June 26, 2017 1:32:39 PM >>>>> To: [hidden email] >>>>> Subject: Re: Can't access webapp in debug model >>>>> >>>>> Hi, >>>>> >>>>> You need to start a debugger for OFBiz to continue and be ready. >>>>> >>>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to >>>> continue. You can see that in the console or console.log >>>>> Jacques >>>>> >>>>> >>>>> Le 26/06/2017 à04:14, Donhu Vy a écrit : >>>>>> In previous sessions, when I release command >>>>>> gradlew cleanAll loadDefault ofbiz --info >>>>>> I can access https://localhost:8443/ap/control/main and start to play >>>> with OFBiz. >>>>>> Today , I release command >>>>>> gradlew cleanAll loadDefault ofbizDebug --info >>>>>> I can't access https://localhost:8443/ap/control/main . >>>>>> >>>>>> Please help me explain why. I want dive inside to source code and start >>>> make something small (for example: a widget, or tweak few lines of code). >>>>>> >>>> |
In reply to this post by Jacques Le Roux
Hi Jacques,
thanks. I just saw that you have corrected the "Using GIT from within Eclipse" - wanted to recommend the article to Vy. How do you mean "Freezed just before the framework and plugins split, 12 Feb 2017"? I have cloned release16.11 from the very same URL just before I have wrote that part. Regards, Daniel On 2017-06-26 20:34 (+0200), Jacques Le Roux <[hidden email]> wrote: > Well spotted Daniel, > > Vy, if you run "gradlew eclipse" it will generate the .project and .classpath files which are used by Eclipse to handle OFBiz > > So it seems you just miss that... > > Jacques > > > Le 26/06/2017 à 20:23, Daniel Coric a écrit : > > Hi Vy, > > > > it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. > > You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. > > And, why are these other maven?! How did you import the project? > > > > Regards, > > Daniel > > > > On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: > >>> Did you run gradlew eclipse? > >> --> I release all Gradle-related commands from CMD. > >> > >> ________________________________ > >> From: Taher Alkhateeb <[hidden email]> > >> Sent: Monday, June 26, 2017 3:22:35 PM > >> To: [hidden email] > >> Subject: Re: Can't access webapp in debug model > >> > >> Did you run gradlew eclipse? > >> > >> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > >> > >>> I try to clean all things. > >>> gradlew cleanAll loadDefault > >>> > >>> Indeed, At the previous session, I didn't set anything in tab Source. This > >>> session, I set it (like screenshot https://user-images. > >>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > >>> 8277-9cfc20fed94d.jpg ) > >>> > >>> Tab Connect still like previous session (https://user-images. > >>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > >>> 865f-581a353b94d2.jpg ) > >>> In CMD, Then I release command: > >>> gradlew ofbizDebug > >>> > >>> CMD console log has nothing. Console screen inside Eclipse IDE also has > >>> nothing. > >>> > >>> Error still looks like previous session (https://user-images. > >>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > >>> 8c4f-10ba778c94e0.jpg) > >>> > >>> This is my Eclipse log https://gist.github.com/donhuvy/ > >>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > >>> > >>> Help me debug OFBiz! > >>> > >>> > >>> ________________________________ > >>> From: Jacques Le Roux <[hidden email]> > >>> Sent: Monday, June 26, 2017 2:50:01 PM > >>> To: [hidden email] > >>> Subject: Re: Can't access webapp in debug model > >>> > >>> Vy, > >>> > >>> I don't see what could be missing, seems to be an issue with your debug > >>> config. > >>> > >>> Did you set correctly the Debug Source tab (near Connect tab)? > >>> > >>> Do you see something in the OFBiz console or console.log? > >>> > >>> Did you check the Eclipse log? > >>> > >>> Jacques > >>> > >>> Le 26/06/2017 à 09:19, Donhu Vy a écrit : > >>>> Thank Jacques Le Roux, > >>>> > >>>> I don't understand your reply. I want re-present my work step-by-step. > >>>> > >>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > >>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > >>> Eclipse Neon 3. > >>>> At OFBiz's folder (F:\ofbiz), I release command > >>>> > >>>> gradlew ofbizDebug > >>>> > >>>> (screenshot: https://user-images.githubusercontent.com/1328316/ > >>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > >>>> At Debug configuration windows, I set configuration like screenshot > >>> https://user-images.githubusercontent.com/1328316/ > >>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > >>>> When I press button "Debug", I see error: > >>>> Problem Occurred > >>>> 'Launching gradle_remote_debug' has encountered a problem. Launch > >>> configuration gradle_remote_debug references closed project ofbiz. > >>>> Details: Launch configuration gradle_remote_debug references closed > >>> project ofbiz > >>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ > >>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > >>>> How to debug OFBiz inside Eclipse IDE? > >>>> > >>>> > >>>> Vy > >>>> > >>>> ________________________________ > >>>> From: Jacques Le Roux <[hidden email]> > >>>> Sent: Monday, June 26, 2017 1:32:39 PM > >>>> To: [hidden email] > >>>> Subject: Re: Can't access webapp in debug model > >>>> > >>>> Hi, > >>>> > >>>> You need to start a debugger for OFBiz to continue and be ready. > >>>> > >>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > >>> continue. You can see that in the console or console.log > >>>> Jacques > >>>> > >>>> > >>>> Le 26/06/2017 à 04:14, Donhu Vy a écrit : > >>>>> In previous sessions, when I release command > >>>>> gradlew cleanAll loadDefault ofbiz --info > >>>>> I can access https://localhost:8443/ap/control/main and start to play > >>> with OFBiz. > >>>>> Today , I release command > >>>>> gradlew cleanAll loadDefault ofbizDebug --info > >>>>> I can't access https://localhost:8443/ap/control/main . > >>>>> > >>>>> Please help me explain why. I want dive inside to source code and start > >>> make something small (for example: a widget, or tweak few lines of code). > >>>>> > >>> > > |
And this, just saw it, "There is no Git repo for the branches which support the released packages, but there are SVN repos at".
Is it against ASF policy to use GIT or what?! I don't understand. On 2017-06-26 20:57 (+0200), "Daniel Coric"<[hidden email]> wrote: > Hi Jacques, > > thanks. > > I just saw that you have corrected the "Using GIT from within Eclipse" - wanted to recommend the article to Vy. > How do you mean "Freezed just before the framework and plugins split, 12 Feb 2017"? > I have cloned release16.11 from the very same URL just before I have wrote that part. > > Regards, > Daniel > > On 2017-06-26 20:34 (+0200), Jacques Le Roux <[hidden email]> wrote: > > Well spotted Daniel, > > > > Vy, if you run "gradlew eclipse" it will generate the .project and .classpath files which are used by Eclipse to handle OFBiz > > > > So it seems you just miss that... > > > > Jacques > > > > > > Le 26/06/2017 à20:23, Daniel Coric a écrit : > > > Hi Vy, > > > > > > it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. > > > You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. > > > And, why are these other maven?! How did you import the project? > > > > > > Regards, > > > Daniel > > > > > > On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: > > >>> Did you run gradlew eclipse? > > >> --> I release all Gradle-related commands from CMD. > > >> > > >> ________________________________ > > >> From: Taher Alkhateeb <[hidden email]> > > >> Sent: Monday, June 26, 2017 3:22:35 PM > > >> To: [hidden email] > > >> Subject: Re: Can't access webapp in debug model > > >> > > >> Did you run gradlew eclipse? > > >> > > >> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: > > >> > > >>> I try to clean all things. > > >>> gradlew cleanAll loadDefault > > >>> > > >>> Indeed, At the previous session, I didn't set anything in tab Source. This > > >>> session, I set it (like screenshot https://user-images. > > >>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- > > >>> 8277-9cfc20fed94d.jpg ) > > >>> > > >>> Tab Connect still like previous session (https://user-images. > > >>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- > > >>> 865f-581a353b94d2.jpg ) > > >>> In CMD, Then I release command: > > >>> gradlew ofbizDebug > > >>> > > >>> CMD console log has nothing. Console screen inside Eclipse IDE also has > > >>> nothing. > > >>> > > >>> Error still looks like previous session (https://user-images. > > >>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- > > >>> 8c4f-10ba778c94e0.jpg) > > >>> > > >>> This is my Eclipse log https://gist.github.com/donhuvy/ > > >>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) > > >>> > > >>> Help me debug OFBiz! > > >>> > > >>> > > >>> ________________________________ > > >>> From: Jacques Le Roux <[hidden email]> > > >>> Sent: Monday, June 26, 2017 2:50:01 PM > > >>> To: [hidden email] > > >>> Subject: Re: Can't access webapp in debug model > > >>> > > >>> Vy, > > >>> > > >>> I don't see what could be missing, seems to be an issue with your debug > > >>> config. > > >>> > > >>> Did you set correctly the Debug Source tab (near Connect tab)? > > >>> > > >>> Do you see something in the OFBiz console or console.log? > > >>> > > >>> Did you check the Eclipse log? > > >>> > > >>> Jacques > > >>> > > >>> Le 26/06/2017 à09:19, Donhu Vy a ÃÂécrit : > > >>>> Thank Jacques Le Roux, > > >>>> > > >>>> I don't understand your reply. I want re-present my work step-by-step. > > >>>> > > >>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ > > >>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, > > >>> Eclipse Neon 3. > > >>>> At OFBiz's folder (F:\ofbiz), I release command > > >>>> > > >>>> gradlew ofbizDebug > > >>>> > > >>>> (screenshot: https://user-images.githubusercontent.com/1328316/ > > >>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) > > >>>> At Debug configuration windows, I set configuration like screenshot > > >>> https://user-images.githubusercontent.com/1328316/ > > >>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg > > >>>> When I press button "Debug", I see error: > > >>>> Problem Occurred > > >>>> 'Launching gradle_remote_debug' has encountered a problem. Launch > > >>> configuration gradle_remote_debug references closed project ofbiz. > > >>>> Details: Launch configuration gradle_remote_debug references closed > > >>> project ofbiz > > >>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ > > >>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) > > >>>> How to debug OFBiz inside Eclipse IDE? > > >>>> > > >>>> > > >>>> Vy > > >>>> > > >>>> ________________________________ > > >>>> From: Jacques Le Roux <[hidden email]> > > >>>> Sent: Monday, June 26, 2017 1:32:39 PM > > >>>> To: [hidden email] > > >>>> Subject: Re: Can't access webapp in debug model > > >>>> > > >>>> Hi, > > >>>> > > >>>> You need to start a debugger for OFBiz to continue and be ready. > > >>>> > > >>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to > > >>> continue. You can see that in the console or console.log > > >>>> Jacques > > >>>> > > >>>> > > >>>> Le 26/06/2017 à04:14, Donhu Vy a ÃÂécrit : > > >>>>> In previous sessions, when I release command > > >>>>> gradlew cleanAll loadDefault ofbiz --info > > >>>>> I can access https://localhost:8443/ap/control/main and start to play > > >>> with OFBiz. > > >>>>> Today , I release command > > >>>>> gradlew cleanAll loadDefault ofbizDebug --info > > >>>>> I can't access https://localhost:8443/ap/control/main . > > >>>>> > > >>>>> Please help me explain why. I want dive inside to source code and start > > >>> make something small (for example: a widget, or tweak few lines of code). > > >>>>> > > >>> > > > > > |
In reply to this post by Daniel Coric
The project OFBiz is not empty, it's Eclipse's icon for a closed project
(like the error message says). See my previous message. Additionally, the whole workspace seems to be messed up. Look at the structure, it has all folders, be it applications, framework or theme subfolders on the same level. Maybe it's some kind of special view but it looks strange to me. Best regards, Michael Am 26.06.17 um 20:23 schrieb Daniel Coric: > Hi Vy, > > it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. > You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. > And, why are these other maven?! How did you import the project? > > Regards, > Daniel > > On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: >>> Did you run gradlew eclipse? >> --> I release all Gradle-related commands from CMD. >> >> ________________________________ >> From: Taher Alkhateeb <[hidden email]> >> Sent: Monday, June 26, 2017 3:22:35 PM >> To: [hidden email] >> Subject: Re: Can't access webapp in debug model >> >> Did you run gradlew eclipse? >> >> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: >> >>> I try to clean all things. >>> gradlew cleanAll loadDefault >>> >>> Indeed, At the previous session, I didn't set anything in tab Source. This >>> session, I set it (like screenshot https://user-images. >>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- >>> 8277-9cfc20fed94d.jpg ) >>> >>> Tab Connect still like previous session (https://user-images. >>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- >>> 865f-581a353b94d2.jpg ) >>> In CMD, Then I release command: >>> gradlew ofbizDebug >>> >>> CMD console log has nothing. Console screen inside Eclipse IDE also has >>> nothing. >>> >>> Error still looks like previous session (https://user-images. >>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- >>> 8c4f-10ba778c94e0.jpg) >>> >>> This is my Eclipse log https://gist.github.com/donhuvy/ >>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) >>> >>> Help me debug OFBiz! >>> >>> >>> ________________________________ >>> From: Jacques Le Roux <[hidden email]> >>> Sent: Monday, June 26, 2017 2:50:01 PM >>> To: [hidden email] >>> Subject: Re: Can't access webapp in debug model >>> >>> Vy, >>> >>> I don't see what could be missing, seems to be an issue with your debug >>> config. >>> >>> Did you set correctly the Debug Source tab (near Connect tab)? >>> >>> Do you see something in the OFBiz console or console.log? >>> >>> Did you check the Eclipse log? >>> >>> Jacques >>> >>> Le 26/06/2017 à 09:19, Donhu Vy a écrit : >>>> Thank Jacques Le Roux, >>>> >>>> I don't understand your reply. I want re-present my work step-by-step. >>>> >>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ >>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, >>> Eclipse Neon 3. >>>> At OFBiz's folder (F:\ofbiz), I release command >>>> >>>> gradlew ofbizDebug >>>> >>>> (screenshot: https://user-images.githubusercontent.com/1328316/ >>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) >>>> At Debug configuration windows, I set configuration like screenshot >>> https://user-images.githubusercontent.com/1328316/ >>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg >>>> When I press button "Debug", I see error: >>>> Problem Occurred >>>> 'Launching gradle_remote_debug' has encountered a problem. Launch >>> configuration gradle_remote_debug references closed project ofbiz. >>>> Details: Launch configuration gradle_remote_debug references closed >>> project ofbiz >>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ >>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) >>>> How to debug OFBiz inside Eclipse IDE? >>>> >>>> >>>> Vy >>>> >>>> ________________________________ >>>> From: Jacques Le Roux <[hidden email]> >>>> Sent: Monday, June 26, 2017 1:32:39 PM >>>> To: [hidden email] >>>> Subject: Re: Can't access webapp in debug model >>>> >>>> Hi, >>>> >>>> You need to start a debugger for OFBiz to continue and be ready. >>>> >>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to >>> continue. You can see that in the console or console.log >>>> Jacques >>>> >>>> >>>> Le 26/06/2017 à 04:14, Donhu Vy a écrit : >>>>> In previous sessions, when I release command >>>>> gradlew cleanAll loadDefault ofbiz --info >>>>> I can access https://localhost:8443/ap/control/main and start to play >>> with OFBiz. >>>>> Today , I release command >>>>> gradlew cleanAll loadDefault ofbizDebug --info >>>>> I can't access https://localhost:8443/ap/control/main . >>>>> >>>>> Please help me explain why. I want dive inside to source code and start >>> make something small (for example: a widget, or tweak few lines of code). >>>>> >>> smime.p7s (5K) Download Attachment |
Hi Michael,
you have a right. It's an icon for a closed project. It has been a while since I've used Eclipse... My mistake and I'm sorry for that guys. But, it's a mess there in Project Explorer - we agree about it. :-) Regards, Daniel > Am 26.06.2017 um 21:55 schrieb Michael Brohl <[hidden email]>: > > icon for a closed project |
It works. I can see value of variable inside Eclipse IDE. Thank you!
________________________________ From: Daniel Coric <[hidden email]> Sent: Tuesday, June 27, 2017 3:19:40 AM To: [hidden email] Subject: Re: Can't access webapp in debug model Hi Michael, you have a right. It's an icon for a closed project. It has been a while since I've used Eclipse... My mistake and I'm sorry for that guys. But, it's a mess there in Project Explorer - we agree about it. :-) Regards, Daniel > Am 26.06.2017 um 21:55 schrieb Michael Brohl <[hidden email]>: > > icon for a closed project |
Administrator
|
In reply to this post by Daniel Coric
Hi Daniel,
Before the Feb 12 2017 there was only 1 trunk containing both the framework and plugins directories. Same in all currently released packages and related branches. After this date we have split the trunk in 2 "repos" (actually only branches, SVN at the ASF is sharing/using the same repo http://svn.apache.org/ with/for all projects) You can start here to better understand the OFBiz SVN structure: http://svn.apache.org/viewvc/ofbiz/ Now for Git: OFBiz is using SVN as official repository. Git repos are only copies based on SVN branches. There is some information about that at http://ofbiz.apache.org/source-repositories.html If you clone from https://github.com/apache/ofbiz then you are not really cloning the R16 branch, but the trunk as it was the Feb 12 2017 HTH Jacques Le 26/06/2017 à 20:57, Daniel Coric a écrit : > Hi Jacques, > > thanks. > > I just saw that you have corrected the "Using GIT from within Eclipse" - wanted to recommend the article to Vy. > How do you mean "Freezed just before the framework and plugins split, 12 Feb 2017"? > I have cloned release16.11 from the very same URL just before I have wrote that part. > > Regards, > Daniel > > On 2017-06-26 20:34 (+0200), Jacques Le Roux <[hidden email]> wrote: >> Well spotted Daniel, >> >> Vy, if you run "gradlew eclipse" it will generate the .project and .classpath files which are used by Eclipse to handle OFBiz >> >> So it seems you just miss that... >> >> Jacques >> >> >> Le 26/06/2017 à 20:23, Daniel Coric a écrit : >>> Hi Vy, >>> >>> it's pretty clear if you look a bit closely in the Project Explorer at this image https://user-images.githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7-865f-581a353b94d2.jpg. >>> You have only empty directory "ofbiz". That means that you cannot have one more project under the same name. What again means that you don't have a project "ofbiz" at all. >>> And, why are these other maven?! How did you import the project? >>> >>> Regards, >>> Daniel >>> >>> On 2017-06-26 10:27 (+0200), Donhu Vy <[hidden email]> wrote: >>>>> Did you run gradlew eclipse? >>>> --> I release all Gradle-related commands from CMD. >>>> >>>> ________________________________ >>>> From: Taher Alkhateeb <[hidden email]> >>>> Sent: Monday, June 26, 2017 3:22:35 PM >>>> To: [hidden email] >>>> Subject: Re: Can't access webapp in debug model >>>> >>>> Did you run gradlew eclipse? >>>> >>>> On Jun 26, 2017 11:15 AM, "Donhu Vy" <[hidden email]> wrote: >>>> >>>>> I try to clean all things. >>>>> gradlew cleanAll loadDefault >>>>> >>>>> Indeed, At the previous session, I didn't set anything in tab Source. This >>>>> session, I set it (like screenshot https://user-images. >>>>> githubusercontent.com/1328316/27529984-cf1c13e2-5a80-11e7- >>>>> 8277-9cfc20fed94d.jpg ) >>>>> >>>>> Tab Connect still like previous session (https://user-images. >>>>> githubusercontent.com/1328316/27529985-cf1d158a-5a80-11e7- >>>>> 865f-581a353b94d2.jpg ) >>>>> In CMD, Then I release command: >>>>> gradlew ofbizDebug >>>>> >>>>> CMD console log has nothing. Console screen inside Eclipse IDE also has >>>>> nothing. >>>>> >>>>> Error still looks like previous session (https://user-images. >>>>> githubusercontent.com/1328316/27529986-cfbca74e-5a80-11e7- >>>>> 8c4f-10ba778c94e0.jpg) >>>>> >>>>> This is my Eclipse log https://gist.github.com/donhuvy/ >>>>> fbf6037ffd941a95729614b056764758 (File .log inside .metadata folder) >>>>> >>>>> Help me debug OFBiz! >>>>> >>>>> >>>>> ________________________________ >>>>> From: Jacques Le Roux <[hidden email]> >>>>> Sent: Monday, June 26, 2017 2:50:01 PM >>>>> To: [hidden email] >>>>> Subject: Re: Can't access webapp in debug model >>>>> >>>>> Vy, >>>>> >>>>> I don't see what could be missing, seems to be an issue with your debug >>>>> config. >>>>> >>>>> Did you set correctly the Debug Source tab (near Connect tab)? >>>>> >>>>> Do you see something in the OFBiz console or console.log? >>>>> >>>>> Did you check the Eclipse log? >>>>> >>>>> Jacques >>>>> >>>>> Le 26/06/2017 Ã 09:19, Donhu Vy a écrit : >>>>>> Thank Jacques Le Roux, >>>>>> >>>>>> I don't understand your reply. I want re-present my work step-by-step. >>>>>> >>>>>> I am reading https://cwiki.apache.org/confluence/display/OFBIZ/ >>>>> Running+and+Debugging+OFBiz+in+Eclipse . I am using Windows 10 Pro x64, >>>>> Eclipse Neon 3. >>>>>> At OFBiz's folder (F:\ofbiz), I release command >>>>>> >>>>>> gradlew ofbizDebug >>>>>> >>>>>> (screenshot: https://user-images.githubusercontent.com/1328316/ >>>>> 27528187-72519bca-5a79-11e7-8bd2-e4d3751642f7.jpg ) >>>>>> At Debug configuration windows, I set configuration like screenshot >>>>> https://user-images.githubusercontent.com/1328316/ >>>>> 27528188-7276fc1c-5a79-11e7-846c-85d75b037f5d.jpg >>>>>> When I press button "Debug", I see error: >>>>>> Problem Occurred >>>>>> 'Launching gradle_remote_debug' has encountered a problem. Launch >>>>> configuration gradle_remote_debug references closed project ofbiz. >>>>>> Details: Launch configuration gradle_remote_debug references closed >>>>> project ofbiz >>>>>> (Screenshot: https://user-images.githubusercontent.com/1328316/ >>>>> 27528317-19ce76c0-5a7a-11e7-9635-e0e38adb07ca.jpg ) >>>>>> How to debug OFBiz inside Eclipse IDE? >>>>>> >>>>>> >>>>>> Vy >>>>>> >>>>>> ________________________________ >>>>>> From: Jacques Le Roux <[hidden email]> >>>>>> Sent: Monday, June 26, 2017 1:32:39 PM >>>>>> To: [hidden email] >>>>>> Subject: Re: Can't access webapp in debug model >>>>>> >>>>>> Hi, >>>>>> >>>>>> You need to start a debugger for OFBiz to continue and be ready. >>>>>> >>>>>> When you use the ofbizDebug Gradle task, OFBiz waits for a debugger to >>>>> continue. You can see that in the console or console.log >>>>>> Jacques >>>>>> >>>>>> >>>>>> Le 26/06/2017 Ã 04:14, Donhu Vy a écrit : >>>>>>> In previous sessions, when I release command >>>>>>> gradlew cleanAll loadDefault ofbiz --info >>>>>>> I can access https://localhost:8443/ap/control/main and start to play >>>>> with OFBiz. >>>>>>> Today , I release command >>>>>>> gradlew cleanAll loadDefault ofbizDebug --info >>>>>>> I can't access https://localhost:8443/ap/control/main . >>>>>>> >>>>>>> Please help me explain why. I want dive inside to source code and start >>>>> make something small (for example: a widget, or tweak few lines of code). >> |
Free forum by Nabble | Edit this page |