cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP+JAVA Systemcopy - Wrong sapgw after the copy

richard_howard
Active Participant
0 Kudos

For our BI system, we did an ABAP+JAVA systemcopy that appeared to complete successfully. Both ABAP and JAVA start cleanly but when we execute the URL to logon through the Java, we now get this error:

Application error occurred during request processing.

Details: java.lang.NullPointerException: null

Exception id: [001E0B50DDFD002C0000000000006655000483965C5A18B6]

In my server0 logs, I find the following issue:

[Thr 198] * ERROR partner 'localhost:sapgw55' not reached

That is the sapgw from our Production system, not the refreshed Development system. Obviously, I made a mistake somewhere in the copy. The question is whether this can be resolved post-refresh? Or do I have to do the whole systemcopy over again (a big task)?

The ABAP side works find so I'm really baffled as to how this sapgw could be off only on the Java side.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member227283
Active Contributor
0 Kudos

Hi Richard,

I don't thing so that you have to do again system copy.

First of check in configtool , what is UME parameter provided over there.

i.e hostname , instance no and etc.

In ume there should instance no as 55 change it to the instance no of your present system

Pls refer the below link.

http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/84/10594aecd3e1408845e66c432b955e/content.htm

Thanks

Anil

Answers (4)

Answers (4)

Former Member
0 Kudos

Check two things.

1. JCO RFC provider in Visual admin to see if any connection failed because of gateway service wrong.

2. Gateway parameter in SLD.(Login to SLD, choose administration and profile)

Former Member
0 Kudos

Hello Richard,

I don't think sapgw is the root cause. Please check the defaultrace file from server0\log once the portal URL fails to execute. You'll find some exception there that shows what is the root case.

You could actually search for the :

Exception id: 001E0B50DDFD002C0000000000006655000483965C5A18B6

or whatever is the new geneated exception id shown in the browser when you execute portal URL next, in the server0\log

defaultrace and find out what is the entire exception. Check the 'Caused by' section/line. Or paste the entire exception here.

Also, if you have multiple server nodes configured you'll have to check for this exception on each server<n>'s log directory as the request could have been redirected to any.

Best Regards,

Snehal Bhaidasna

SAP Labs, CA(USA)

richard_howard
Active Participant
0 Kudos

Thanks Snehal. Here's what I found ...

Caused by: javax.naming.NameNotFoundException: Child not found: com.sap.portal.compatibility50.cache.par at com.sap.portal.system/archives [Root exception is javax.naming.NameNotFoundException: Child not found: com.sap.portal.compatibility50.cache.par at com.sap.portal.system/archives]

Following up on Anil's previous post ...

I did a typical sapinst systemcopy, using a standard DB copy procedure for Oracle. Then did most of the post-refresh work and took a backup. Glad I did because we had a crash and I had to recover to that backup of the Dev system. I expected to still have work pending but was confused that I had this issue when I tried to logon to the BI Portal.

Former Member
0 Kudos

Hi Richard,

Please paste the entire exception. Also, check exactly which is the first exception that's thrown when this error occurs. Did you search by the exception id that was shown on browser? The entire exception from exception id till the end will help.

Regards,

Snehal

richard_howard
Active Participant
0 Kudos

I find some entries in the default.trc that have a "Caused by" for Child not found. But when I search just on the Exception ID, I only have this message:

The error is: java.lang.NullPointerException: null^M

Exception id: [001E0B50DDFD00190000003400006655000483CD8B19DAC9]#

#1.5^H#001E0B50DDFD00270000000300006655000483CDA6B50994#1270819171238#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/irj#com.sap.engine.services.servlets_jsp.client.RequestInfoServe

r#J2EE_GUEST#0##n/a##8842446043da11dfcff7001e0b50ddfd#SAPEngine_Application_Thread[impl:3]_20##0#0#Error##Plain###application [irj] Processing HTTP request to servlet [gateway] finished with error. The er

ror is: java.lang.NullPointerException

at com.sap.portal.navigation.Gateway.service(Gateway.java:126)

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

#

#1.5^H#001E0B50DDFD00270000000500006655000483CDA6B50CD0#1270819171239#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/irj#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2

EE_GUEST#0##n/a##8842446043da11dfcff7001e0b50ddfd#SAPEngine_Application_Thread[impl:3]_20##0#0#Error#1#/System/Server/WebRequests#Plain###application [irj] Processing HTTP request to servlet [gateway] fin

ished with error.^M

The error is: java.lang.NullPointerException: null^M

Exception id: [001E0B50DDFD00270000000300006655000483CDA6B50994]#

Former Member
0 Kudos

Hi Richard,

Unfortunately, Nullpointerexception that you mentioned could occur due to various reasons.

Please see if you can find any datasource related error messges in the defaultrace. Also, please check if you can see any files with .err extention in the irj folder or sub-folders.

Regards,

Snehal

richard_howard
Active Participant
0 Kudos

I did the standard sapinst systemcopy procedure but immediately following, we had to do a recover from a backup. I think somewhere in all the juggling, I missed something. Was just fishing to see if anyone knew where this Instance value might be so that I could avoid having to redo the refresh.

former_member227283
Active Contributor
0 Kudos

Hi,

Not getting to your point.

You said you done system copy using SAPINST.

Then , how come you have recover the database ... Did you restore the databsae from source to target ??

If yes, you have restore the database from source to target , then this is problem why the entry of source system is present in the UME of configtool of target system.

Becuase UME entry get stored in database..

Thanks

Anil

richard_howard
Active Participant
0 Kudos

Thanks Anil. The setting in the UME definition is correctly set to my DEV instance. Oddly enough, I can run NWA and logon just fine (credentials are validated through ABAP data source). But I haven't been able to find why just the Portal URL has this issue.

former_member227283
Active Contributor
0 Kudos

Hi Richard,

What procedure you followed for doing abap+java system copy ?

Thanks

Anil