cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging alfresco project within eclipse(urgent)

biswajit
Champ in-the-making
Champ in-the-making
Hi,
I am new in alfresco.Please tell the total steps to debug alfresco sdk in eclipse.I was following the steps but after start it shows 404 error.
# If you have not already done so, set a breakpoint somewhere in your code (preferably something not associated with startup) by left-clicking to the left of a line of code.
# Under the "Run" menu, select the "External Tools" sub-menu, then the "External Tools" heading.
# On the dialog that appears, single-click the "Program" heading, then click the "New" icon (a page with a plus on it).
# Change the Name to something meaningful, like "Sakai 2.4".
# Under "Location", enter full path and filename for your catalina script (catalina.sh on UNIX, catalina.bat on Windows).
# Under "Working Directory" to the location of your tomcat installation.
# Under "Arguments", enter "jpda start".

    * NOTE: If you use "jdpa run" rather than "jpda start", Tomcat will not open a new window to start in and will instead give you all it's standard err and standard out in the Eclipse console window. This is usefull for Windows developers who don't like to read console output from a DOS window.

# Go to the "Environment" tab.
# Click "New" and enter "JPDA_ADDRESS" as the name and "8000" as the value, then hit "OK".
# Click "New" again and enter "JPDA_TRANSPORT" as the name and "dt_socket" as the value, then hit "OK".
# Click "New" again and enter "JAVA_OPTS" as the name and "-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true" as the value, then hit "OK".
# Open the "Common" tab.
# Check the box marked "External Tools" in the panel marked "Display in favorites menu".
# Check the box marked "Launch in background".
# Hit "Apply" to save your changes.
# Hit "Run" to test your configuration.

Please help me .Its urgent.
3 REPLIES 3

dranakan
Champ on-the-rise
Champ on-the-rise

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

Have you tried the tutorial ???

It's not a good idea to post several times the same message. I you want some help, post ONE time, and give answers if you have any problems.

biswajit
Champ in-the-making
Champ in-the-making
yeah i have tried but i mentioned the error.so if u can please help me.