cancel
Showing results for 
Search instead for 
Did you mean: 

SRM-LAC JAVA error after upgrade Netweaver version 7.31

akash_ahuja
Explorer
0 Kudos

The  was implemented on SRM 7.0 (Netweaver 7.1). Now we are implementing the SRM e-procurement process and for that implementation partner advised us to upgrade the SRM system to SRM 7.02 as most of the functionalities required by us were part of standard solution in EHP 2.0. We went with upgrade of SRM (EHP 2.0) and tested the Reverse Auction process on SRM 7.02 and it worked fine.

Also for the same project it was required to upgrade the Netweaver to 7.31 version. We upgraded the Development Portal to 7.31 and SRM to 7.02.

We are able to create the Auction document but when we try to run the Live Auction the applet doesn’t get invoked and error is thrown

i have implement the following notes also 1998043 - Live Auction Cockpit - Java 7 Update 51 - Manifest file Permission Issue

1979375 - Missing required Permissions manifest attribute in main jar but still facing the same issue.


The following information come into the application log nothing in default trace:-


2.#2014 09 17 10:44:30:035#+0530#Error#/Applications/SRMLA/JCO#

##sap.com/com.sap.srm.la#C000C0A8751F025500000003000B5070#3284450000000004#sap.com/com.sap.srm.la#com.sap.srm.la.server.jco.services.JcoLogOutService#90225#49##A015674E3E2811E4C550000000321DE2#a64472073e2811e4b228000000321de2#a64472073e2811e4b228000000321de2#0#Thread[HTTP Worker [@588191721],5,Dedicated_Application_Thread]#Plain##

AbstractJcoService.execute(JcoServiceRequest _input, Locale _locale): Abap runtime error occurred. The error_key is USER_NOT_VALID: user is not valid#

#2.#2014 09 17 10:44:30:033#+0530#Error#/Applications/SRMLA/JCO#

##sap.com/com.sap.srm.la#C000C0A8751F025500000002000B5070#3284450000000004#sap.com/com.sap.srm.la#com.sap.srm.la.server.jco.services.JcoLogOutService#90225#49##A015674E3E2811E4C550000000321DE2#a64472073e2811e4b228000000321de2#a64472073e2811e4b228000000321de2#0#Thread[HTTP Worker [@588191721],5,Dedicated_Application_Thread]#Plain##

com.sap.srm.la.server.jco.services.JcoLogOutService - AbstractJcoService.writeToLogIfInvalid(String _name, String _value, String source): CLIENT_ID is null or empty.#

#2.#2014 09 17 10:44:30:035#+0530#Error#/Applications/SRMLA/JCO#

##sap.com/com.sap.srm.la#C000C0A8751F025500000003000B5070#3284450000000004#sap.com/com.sap.srm.la#com.sap.srm.la.server.jco.services.JcoLogOutService#90225#49##A015674E3E2811E4C550000000321DE2#a64472073e2811e4b228000000321de2#a64472073e2811e4b228000000321de2#0#Thread[HTTP Worker [@588191721],5,Dedicated_Application_Thread]#Plain##

AbstractJcoService.execute(JcoServiceRequest _input, Locale _locale): Abap runtime error occurred. The error_key is USER_NOT_VALID: user is not valid#


Regards:

Akash Ahuja


Accepted Solutions (0)

Answers (2)

Answers (2)

akash_ahuja
Explorer
0 Kudos

This issue has been resolved after activating the customizing switch which was not available in SRM 7.0.

Strategic Sourcing Innovations (SRM_SOURCING_1) business function and the Live Auction on ABAP Server (SRM_701_LIVE_AUCTION_ABAP) Customizing switch needs to be activated.

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Hi Akash,

In the control panel, Make the JAVA security to medium and try.  It should work.

Rohit

akash_ahuja
Explorer
0 Kudos

Hi,

I already done this but have same issue also clicking on error following information comes:-

Missing Permissions manifest attribute in main jar: http://srmepdev.ndpl.com:50000/srm/lib/srmlaInitiator6.5.0.jar

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Hi Akash,

There is new note 1998043. Please implement that also.

Can you try in firefox browser once.

Best regards,

Rohit

akash_ahuja
Explorer
0 Kudos

Hi,

I already use this note but having the same and also facing the same issue in quality system after upgrading Net weaver Version 7.31 and backend SRM 7.02.

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Hi,

Do you have downloaded new jar file also.

Rohit

akash_ahuja
Explorer
0 Kudos

Yes it's automatically created after implementing the note.

Regards::

Akash Ahuja

rohit3611
Contributor
0 Kudos

Hi Akash,

Please have a OSS message to SAP as it is bug from there side by looking into your URL.

You are using JAVA auction but note is for ABAP server auction.

I think SAP has to give fix for JAVA server Auction also.

Best regards,

Rohit

akash_ahuja
Explorer
0 Kudos

Hi Rohit,

I already raised the OSS but they are asking this is consulting issue not any patching issue that's why i post this here so someone if face the same then it will be helpful for me.

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

You can tell them that this is happening for JAVA server also and you have provided note only for ABAP server.

May be you can reply in OSS

For java update 51.. every manifest file requires permissions attribute to be set.

this is set for abap server auctions but not for java server auctions.

please fix the same for java server auctions.

Permissions: all-permissions 

for the srmlaInitiator, srmlaRespondent and the srmlaClientResources jar file.


Rohit

akash_ahuja
Explorer
0 Kudos

HI Rohit,

can you please tell me how to fix the same with JAVA Server.

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Hi Akash,

Add in the manifest file the

Permissions: all-permissions 

for the srmlaInitiator, srmlaRespondent and the srmlaClientResources jar file.


But i think it is better if SAP provide this as next time when you take the new update it will override.


Still you can do the changes and check.


Rohit



akash_ahuja
Explorer
0 Kudos

Thanks Rajat but where should i search for these files in JAVA.

Regards:

Akash Ahuja

akash_ahuja
Explorer
0 Kudos

HI i have set the permission as suggested by you in JAVA side also

and OSS also provide the below solution

please check the following:

In order to facilitiate customization, the resource files for the Live

Auction Cockpit applet are packaged separately from the web

application itself. In order for the applet to retrieve its resources,

the web server must make the resource files accessible via HTTP. This

is achieved by creating a web alias for the directory that contains

the resources. Without this alias, the applet will not load properly.

1. Start the SAP J2EE Engine.

2. Open the SAP J2EE Engine administration tool.

3. Enter the SAP J2EE Engine administrator password and click Connect.

4. In the navigation pane, choose Server -> Services -> HTTP Provider

5. Select the Runtime tab.

6. Select the Aliases tab.

7. Enter Alias: srm/lib/resources.

8. Enter Path.

eg: <INSTDIR>:\usr\sap\ <SAPSID>\SYS\global\srmla\resources

9. Click Add.

10. Click Save Properties.

11. Close the SAP J2EE administration tool.

Troubleshooting if you think web alias is configured properly:

12. After the applet fails to load, view the HTML source for the

applet and search for "" . You should find a text like

srmlaInitiator#.#.#.jar

13. Construct a URL with this findings and try download the JAR file

from your browser.

eg:

http://j2ee:port/srm/lib/srmlaInitiator#.#.#.jar

14. If you have configured your web alias properly, you should be able

to download the file and the applet will work.

If the Live Auction is still not working, please check the file

attribute of the mentioned file and change it (chmod) to 755.

command:

chmod 755 < SEARCH FOR THE INSTALLATION

DIRECTORY>/global/srmla/resources/srmlaInitiator#.#.#.jar



Now i am able to download JAR file but the error is changed in default trace not on JAVA console:-



#2.#2014 09 19

23:49:30:940#+0530#Error#com.sap.security.core.server.destinations.service.A

ssertionTicketRetriever#

#BC-JAS-

SEC#tc~sec~destinations~service#C000C0A8751F0014000028CA00070022#21485450000

002337##com.sap.security.core.server.destinations.service.AssertionTicketRet

riever####7C220EF03F3611E484CD001A6446BF8E#7c220ef03f3611e484cd001a6446bf8e#

7c220ef03f3611e484cd001a6446bf8e#0#System [11]#Plain##

Assertion ticket could not be retrieved. Error was null#

#2.#2014 09 19

23:49:30:940#+0530#Error#com.sap.security.core.server.destinations.service.A

ssertionTicketRetriever#

#BC-JAS-

SEC#tc~sec~destinations~service#C000C0A8751F0014000028CB00070022#21485450000

002337##com.sap.security.core.server.destinations.service.AssertionTicketRet

riever####7C220EF03F3611E484CD001A6446BF8E#7c220ef03f3611e484cd001a6446bf8e#

7c220ef03f3611e484cd001a6446bf8e#0#System [11]#Plain##

Assertion ticket could not be retrieved

[EXCEPTION]

java.security.PrivilegedActionException: java.lang.Exception:

java.lang.reflect.InvocationTargetException

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

at

com.sap.security.core.server.destinations.service.AssertionTicketRetriever.g

etAssertionTicket(AssertionTicketRetriever.java:49)

at

com.sap.security.core.server.destinations.service.AssertionTicketSecurePrope

rties.getProperty(AssertionTicketSecureProperties.java:88)

at

com.sap.security.core.server.destinations.service.AssertionTicketSecurePrope

rties.getProperty(AssertionTicketSecureProperties.java:109)

at

com.sap.mw.rfc.api.RfcOptions.findProperty(RfcOptions.java:961)

at

com.sap.mw.rfc.api.RfcOptions.getTrimmedProperty(RfcOptions.java:1016)

at

com.sap.mw.rfc.api.RfcOptions.getMysapsso2(RfcOptions.java:906)

at

com.sap.mw.rfc.engine.RfcIoOpenCntl.rfcio_setopt(RfcIoOpenCntl.java:900) at

com.sap.mw.rfc.engine.RfcIoControl.ab_rfcopen(RfcIoControl.java:85)

at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:572)

at

com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1095)

at com.sap.mw.jco.JCO$Client.connect(JCO.java:3676)

at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:5215)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:7120)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:7074)

at com.sap.mw.jco.JCO.getClient(JCO.java:9618)

at

com.sap.engine.services.rfcengine.Bundle.initializePool(Bundle.java:231) at

com.sap.engine.services.rfcengine.RFCApplicationFrame$RFCEngineStarter.run(R

FCApplicationFrame.java:504)

at com.sap.engine.frame.core.thread.Task.run(Task.java:73)

at

com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)

at

com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)Caused by: java.lang.Exception:

java.lang.reflect.InvocationTargetException

at

com.sap.security.core.server.destinations.service.AssertionTicketRetriever$G

etAssertionTicketPrivAction.run(AssertionTicketRetriever.java:118)

at

com.sap.security.core.server.destinations.service.AssertionTicketRetriever$G

etAssertionTicketPrivAction.run(AssertionTicketRetriever.java:71)

... 21 more

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor419.invoke(Unknown Source) at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at

com.sap.security.core.server.destinations.service.AssertionTicketRetriever$G

etAssertionTicketPrivAction.run(AssertionTicketRetriever.java:107)

... 22 more

Caused by: java.lang.IllegalStateException: Current principal is null.

at

com.sap.security.core.server.jaas.SAPLogonTicketHelper.createAssertionTicket

(SAPLogonTicketHelper.java:500)

at

com.sap.security.core.server.jaas.AssertionTicketFactoryImpl.createAssertion

Ticket(AssertionTicketFactoryImpl.java:67)

... 26 more



Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Yes Akash,

You are right. Is the issue resolved or not with this?

Best regards,

Rohit

akash_ahuja
Explorer
0 Kudos

Hi Rohit,

Still issue not resolved, waiting for SAP reply.

i am able to download .jar file through alias and also set the permission on below directory global/srmla/resources/srmlaInitiator#.#.#.jar, do not know where are these files which we are not able to search.

Regards:

Akash Ahuja

rohit3611
Contributor
0 Kudos

Generally these files are part of Mime objects attached in the Live auction package.

Lets wait for reply from SAP, lets hope issue will be resolved. Keep updating.

Best regards,

Rohit