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