cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging MAU 1.0 in NWDS

Former Member
0 Kudos

Hi all.

I am running into problems while trying to debug MAU 1.0 in NWDS. When i start the debugger the MI is starting, the IE is starting and trying to display the start page:

http://localhost:4444/MAU/start

I receive an Error 500 caused by the following Exception:

javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)

I think that my debug properties are configured corectly. Any ideas?

Best reagrds,

Sascha

Accepted Solutions (1)

Accepted Solutions (1)

kishorg
Advisor
Advisor
0 Kudos

Hi Sascha,

before u start debugging ur application , u have to manually stop the client from system tray itself.

For configuring the DEBUG properties , refer these helps..

For AWT

/people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds

For JSP

http://media.sdn.sap.com/public/html/submitted_docs/MI/MDK_2.5/content/eclipse/debuggingineclipse.ht...

Regards

Kishor Gopinathan

Answers (1)

Answers (1)

Former Member
0 Kudos

hello sascha,

there could be a root cause to this exception like missing

resource etc... do you have the full exception trace?

regards

jo

Former Member
0 Kudos

Hi Jo.

Here is the complete Stacktrace:

Thanks for helping out.

Location: /MAU/home/home_mgmt.do

Internal Servlet Error:

javax.servlet.ServletException: cannot find message associated with key : dispatcher.forwardException

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:238)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)

at mam_0005fstart._jspService(Unknown Source)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

Former Member
0 Kudos

Hi Jo.

As we are currently talking about Exceptions. Here is another one which I get when i start MAU over MI. It happens anytime i click a link. I also get no orders or messages:

[20060421 16:23:36:060] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON

[20060421 16:23:36:060] I [MI/API/Logging ] ***** Mobile Engine version: MI 25 SP 13 Patch 00 Build 200507282032

[20060421 16:23:36:060] I [MI/API/Logging ] ***** Current timezone: Europe/Berlin

[20060421 16:23:36:060] E [Unknown ] java.lang.NullPointerException: no message available

java.lang.NullPointerException

at com.sap.mbs.alm.bo.impl.Mam095ManagerImpl.getMam095Item030s(Unknown Source)

at com.sap.mbs.mam.cstm.impl.CstmCustomControllerImpl.getBusinessProcess(Unknown Source)

at com.sap.mbs.mam.cstm.util.ComponentStatus.getBusinessProcess(Unknown Source)

at com.sap.mbs.mam.cstm.util.ComponentStatus.getNotifIsActive(Unknown Source)

at activity.mreplace_0005flist._jspService(Unknown Source)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:896)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:678)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:326)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

Maybe you know something about that.

Thanks again,

Sascha

kishorg
Advisor
Advisor
0 Kudos

Hi Sascha Dingeldey ,

i think u have installed the SP 13 version of MI client.

Sascha ,which is the recommended version of MI client for ur application?.

I think, this application is developed in the lower version of NWDS .(less than SP11). The application architecture itself is different in SP 9 and SP 11 (or higher versions). verify this.

try to run this application in SP 09 and verify.( i dont know it exactly.).

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Kishor.

We are using MAU 1.0 SR04. The Installation Guide says that the MI running on the client has to be MI 2.5 SP13.

But thanks for the hint.

Best regards,

Sascha

Former Member
0 Kudos

Hi Jo.

Do you have any ideas? Did the stack trace help?

Best regards,

Sascha

Former Member
0 Kudos

Hi guys.

I solved the problem. The MAU_eclipse.war which I imported into NWDS has a missing property file. As I am using NWDS 2.1_12 this error could not be fixed automatically so I copied it manually to the correct place in the project. After that it worked fine.

There is a SAP note about this but i actually dont have the number here.

Anyway thanks again for your help.

Best regards,

Sascha

Former Member
0 Kudos

Hi Sascha,

I am facing the same problem with MAU 3.0. Can you please help me in finding out the solution? Can you tell me about the file and where to put it?