cancel
Showing results for 
Search instead for 
Did you mean: 

Not ABle to debug ?

Former Member
0 Kudos

Hello All,

I'd set the dubug mode on and did the following :-

      1.      Choose Run --> Debug... in the main menu. 

       2.      In the list of possible configurations, select Web Dynpro Application and then choose New.

       3.      Under Name, enter MyWelcomeConfig as the name of the configuration.

       4.      Choose Browse... next to the Project field. Next, select the Welcome project and confirm with OK.

       5.      Choose Browse... next to the Web Dynpro Application field. Next, select the WelcomeApplication and confirm with OK.

       6.      If the Welcome application to be debugged has not yet been deployed on the server, select the Create and deploy archive checkbox.  
       7.      To select the server that you want to use for the debugging procedure, choose the J2EE engine tab page.

       8.      The configuration is now complete and you can start the debugger. 

       9.      To start the debugger, choose Debug.

The Debug Properties screen is showing me a message saying :-

<b>

[ J2EE Engine ] :The selected server node does not run in restricted load balancing mode !
Please configure it correctly so that the URL Extension can be used.

</b>

Now, when I pressed Debug button , I'm getting an error saying :-

   404   Not Found 
   SAP J2EE Engine/6.40  

   The requested resource does not exist.

Can any one tell me where the problem lies ?

Regards,

Deepu.K

Accepted Solutions (1)

Accepted Solutions (1)

Greg_Austin
Active Participant
0 Kudos

Is the debug mode on the WAS turned on? If not open the J2EE view in developer studio, expand the nodes to find the server 0 node, right click and turn debug on. You server will immediately restart and debug mode will be on.

Answers (2)

Answers (2)

former_member186016
Active Contributor
0 Kudos

When you start Debug from NWDS it launches the URL after getting a debug session.

For debug session the server must started in debug mode locally or globally.

In you case (debug) url gets launched but there is no process on server running in debug mode. Hence,you are getting 404 error because the server is not in debug mode either locally or globally.

Ensure your server is running in debug mode.

Regards;

Ashwani Kr Sharma

Former Member
0 Kudos

Hello ,

<i>In you case (debug) url gets launched but there is no process on server running in debug mode. Hence,you are getting 404 error because the server is not in debug mode either locally or globally.</i>

My server 0 has the following Properties :-

Name                               : server0
State                                :  Running
Productive Use                  :  NO
Debug Mode                      : ON
Restricted Load Balancing  :  NO
Automatic Restart              :  YES
Http Port                           :  0
Debug Port                        : 50021

AS i see...I guess mz Server is in debug mode.

Then what could be the problem ?

Regards,

Deepu.K

former_member186016
Active Contributor
0 Kudos

Is your applcation deployed on server ?

Are you able to run it ?

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hello,

Yes, My Appl. is deployed on to the server and I'm able to Run it perfectly.

Regards,

Deepu.K

former_member186016
Active Contributor
0 Kudos

In step 7 mentioned in your first post, can you check that the server0 is selected as the process for debug ?

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Hello,

Yes, I selected the server 0 as the Debug Instance.

But the Problem here is even before I do that I can see a red Cross on the J2EE Engine Tab .

And at the top of this Screen I'm getting a message saying :

<b>The selected server doesnot run in restrict4ed load balancing mode !

Please configure it correctly so that the URL extension can be used.</b>

Regards,

Deepu.K

oliver
Product and Topic Expert
Product and Topic Expert
0 Kudos

In case you haven't solved the problem yet, check the following thread:

This has to do with your clustered server environment and it's necessary to set the node for debugging to this restricted mode.

Best regards,

ok

Former Member
0 Kudos