Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all articles
Browse latest Browse all 2997

Error while opening PIMON (Message Monitor)

$
0
0

We have PI System as of Netweaver 7.40 and We were facing below issue.We were trying to open message monitor page and it was dumping like below

 

java.lang.NullPointerException: while trying to invoke the method java.lang.Long.longValue() of a null object loaded from local variable 'result'

 

How to reproduce the Issue?

 

Navigate to below link http://host:port/dir/start/index.jsp-->Configuration and Monitoring Home or open http://host:port/pimon directly

 

ScreenHunter_166.jpg

 

Click on Adapter Engine-->Message Monitor-->Database and if you click on go the page gives dump

 

     ScreenHunter_167.jpg

 

     ScreenHunter_169.jpg

 

     ScreenHunter_170.jpg

 

How did I analyze the issue?

As a first step I tried to check the Adapter En

 

gine availability.You have accessed the Component Monitor in Runtime Workbench (http://host:port/rwb-->Component Monitoring ) . When selecting Integration Server> Adapter Engine, some of the availability details are displayed with "red" or "grey" status

 

In my case I got below messages...

 

Component "com.sap.aii.adapter.idoc.sapjra.inboundRA" of type "Application" has errors

Component "com.sap.aii.adapter.idoc.app" of type "Application" has errors

Component "com.sap.aii.adapter.idoc.sapjra.outboundRA" of type "Application" has errors

Component "com.sap.xi.itsam.mdt.idocmoni" of type "Application" has errors

Component "com.sap.xi.itsam.mdt" of type "Application" has errors

Component "com.sap.aii.adapter.idoc.raclonetemplate" of type "Application" has errors

 

I tried to start the applications manually from NWA but they were not getting started as dependent application were stopped.Then I checked the default trace which can be found in Drive:\usr\sap\SID\DVEBMGSxx\j2ee\cluster\serverx/log and found below information

 

     ScreenHunter_171.jpg

 

       ScreenHunter_172.jpg

How did I resolve the issue?

 

According to

 

the traces the "com.sap.aii.adapter.idoc.ra" application failed to start because of errors like:

...

java.lang.NoSuchMethodException:

com.sap.aii.af.idoc.ra.IDOCManagedConnectionFactory.setAutoNumberFromDB(java.lang.String)

...

java.lang.NoSuchMethodException:

com.sap.aii.af.idoc.ra.IDOCManagedConnectionFactory.setPersistance(java.lang.String)

...

These errors occur because the type (data type) of the properties of the corresponding resource adapter JavaIdocAdapter are not correct,e.g. both properties should be with type "Class java.lang.Boolean" instead of "Class java.lang.String".

 

In order to see the properties

 

you need to logon to the NWA -> Configuration -> Infrastructure ->Application resources -> filter out for JavaIdocAdapter resource

adapter -> tab properties.

 

     ScreenHunter_160.jpg

I revised the configuration of the JavaIdocAdapter resource adapter and set the correct type for the properties. Then restarted the

application "com.sap.aii.adapter.idoc.ra".After changing it should look like this and all the dependent Applications got started.

 

     ScreenHunter_164.jpg

 

Now when I try to open PIMON it works absolutely fine.

 

    ScreenHunter_174.jpg


Viewing all articles
Browse latest Browse all 2997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>