cancel
Showing results for 
Search instead for 
Did you mean: 

How to start debug IPC (Internet Pricing Configuration) in NWDS?

Former Member
0 Kudos

Hello,

Does anybody know how to start debug IPC in NWDS? I tried to start JavaServer.class or Dispatcher.class in the IDE but it gives out error and can't connect to CRM.

I would really appreciate any input.

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Also, answer to question 5, my IPC is running on IPC server on my local machine. It's actually a java class file (JavaServer.class). Also, I need to run dispatcher before running Javaserver.

Thanks,

Prajesh
Advisor
Advisor
0 Kudos

Hello,

Inorder to enable debugging you have to make small modification to your server.bat file. I mean entry for java debugger and its corresponding port,

@"%JAVA_HOME%\bin\java" -Xms64m -Xmx512m

-Xdebug -Xnoagent -Djava.compiler=NONE -

Xrunjdwp:transport=dt_socket,server=y,address=5000,suspend=n

-cp "%CLASSPATH%" com.sap.sxe.socket.server.JavaServer

After this you can start your dispatcher and server.

Now from your developer studio you can start debugging session using remote application configuraion. There host is your localhost and port is 5000.

Regards,

Prajesh

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Prajesh,

Thank you so much. It works!!

Former Member
0 Kudos

Hi.

I'm trying to do the same thing.

Did you use a local IPC to debug ?

Where can i find the file server .bat ?

Thanks for the information.

0 Kudos

Could you please let me know where can I find server.bat file?I am using local IPC and Windows 7.I started debugging an order from CRM ,I set a break-point in PRICING_MAINTAIN_OW,it stopped.Now is there a way to get into the routines(IPC pricing exits) in the same debugging session?

Former Member
0 Kudos

Hi Prajesh,

Thank you. I will try and let you know if it works.

Former Member
0 Kudos

Hi Pascal,

1. Yes, I have got the IPC source, it's PricingUserExits.java

2. How can I find out if my server debug enabled and how to config those debug settings?

Thanks,

Former Member
0 Kudos

1. You have got the IPC sources that you want to debug?

2. Is your server debug enabled?

3. Have you configured a debug configuration?

4. Can you connect a debug session (start the debug)?

5. Is IPC running on a WebAS 6.40?

Message was edited by: Pascal Willemsen