Java App from SAP Portal - SSO2Ticket call - java.lang.UnsatisfiedLinkError

Hi
I am facing a problem in trying to call a java application from SAP portal.
*Cause:*
This java application is built on Unix (AIX) server. Previously it was running fine. Then there is a Tech Upgrade on SAP side in our company. After that I have been told to test whether the Java Application is getting called correctly or not.
Error:
I am getting the below error
java.lang.UnsatisfiedLinkError: com/mysap/sso/SSO2Ticket
Also when I am checking the log entry all I am able to see, there is error in SSO2Ticket.verify() method and the error is
Error during initialization of SSO2TICKET;       com/mysap/sso/SSO2Ticket.init(Ljava/lang/String;);
Effort:
I checked all possible aspects what ever came to my mind and found in this forum so far.
1. com/mysap/sso this package is there.
2. SSO2TICKET class defined in that package
3. The JAVA_HOME and CLASSPATH are defined correctly ( I guess so)
4. Even the "libsapsecu.o" file is present
I am not sure why still this error is coming. Am I missing something here? Or what ever I have mentioned above 1-4 I am not getting them correctly.
I am new to this kind of native call technology. Please help me on this.
My concerns are :
1. Is the package com/mysap/sso should be in a specific location, which I am missing.
2. Do I need to revisit my CLASSPATH set up for JAVA?
3. Is any change required to the libsapsecu.o file?
4. Most of all what on earth can I do to overcome this?
5. After Tech upgrade do they need to do some sort of thing to make the Java native call available, which they might have missed? Does any one aware of any such thing?
Please let me know the answer asap.
Thanks
Santanu
Code:
I am also attaching the code snippet from JAVA
public class SSO2Ticket {
static {          
          if (System.getProperty("os.name").startsWith("Win")) {
               SECLIBRARY = "sapsecu.dll";
          } else {
               SECLIBRARY = "libsapsecu.o";
          try {
               logger.debug("java.library.path - "+System.getProperty("java.library.path"));
               System.loadLibrary(SSO2TICKETLIBRARY);
                logger.debug("SAPSSOEXT loaded.");
          } catch (Throwable e) {
               System.out.println("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
               logger.error("Error during initialization of SSO2TICKET:\n"+ e.getMessage());
public static synchronized String[] verify(String ticket, String pathToPSE) throws LogonTicketException
          //System.out.println("Ticket: "+ticket);
          //System.out.println("PSE: "+pathToPSE);
            logger.debug("Ticket: "+ticket);
            logger.debug("PSE: "+pathToPSE);
          String[] ticketContent = null;
          logger.debug("The value for initialized is -
>"+initialized);
               try {
                    init(SECLIBRARY);
               } catch (Throwable e) {
                      logger.error("Error during initialization of SSO2TICKET:\n"+ e.getMessage());

Hi,
have you searched on SCN? There are some threads with same problem such as [this one|/message/9270216#9270216 [original link is broken];. There is more threads. They may help you to solve your issue.
Cheers

Similar Messages

  • Invoking Java Applet from SAP Netweaver Eportal using java webdynpro

    Hi ,
    We are using SAP Netweaver portal version 7.0.WE want to invoke java applet into webdynpro java application on button click.
    The Applet should open in a new window when the particular parameter is selected and the button is clicked
    The code is given below:
    String html = "<HTML> <HEAD></HEAD> <BODY><APPLET code=\"org.faceless.pdf2.viewer2.PDFViewerApplet\" type=\"application/x-java-applet;version=1.4.2_05\" archive=\"bfopdf.jar\" width=800 height=600></APPLET></BODY></HTML>";
    IWDCachedWebResource resource = WDWebResource.getWebResource(html.getBytes("UTF-8"), WDWebResourceType.HTML);
    resource.setResourceName("HTML_inline.html");
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getAbsoluteURL(),"Image");
    window.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    window.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    window.removeWindowFeature(WDWindowFeature.STATUS_BAR);
    window.open();
    But after clicking on button new html window is opening and the applet is not showing properly. The java console showing the error:
    java.lang.ClassFormatError: Truncated class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassFormatError: Truncated class file
    Please suggest how to solve this error.
    Regards,
    Dhruba

    Hi,
    I'm not sure, but I believe the 'code' argument should end with '.class'. However, your implementation of displaying a Java applet seems ok, the error is within the applet's Jar file
    Anyway, have a look at http://download.oracle.com/javase/1,5.0/docs/guide/plugin/developer_guide/using_tags.html#applet and http://www.w3.org/TR/html401/struct/objects.html#h-13.4 on how to use the <applet> tag
    As a test, you could try and create a local HTML document on your local desktop, including the applet. I would suspect you will receive the same error in your Java console
    I believe the only option is to recompile your Java applet (if possible at all) against a newer JDK (1.4 and up)

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Issue in Passing Value from SAP Portal through Open Doc

    Hi
    I am  trying to pass the variables through open doc link from SAP portal.
    I am trying to pass four variables.
    OrganisationHierarchy
    FiscalPeriodFrom
    FiscalPeriodTo
    Business
    OrganisationHierarchy  and Business are hierarchy variables.
    I am testing few scenarios.Scenario1 and Scenario 2 are working fine.
    But I am facing with Scenario3 and Secnario4.
    Scenario1
    Only two levels are passed to OrganisationHierarchy
    http://mspr39.corp.medtronic.com:8080/OpenDocument/opendoc/openDocument.jsp?sap_sysid=DB1&sap_client=010&iDocID=11589&lsMOrganisationHierarchy=[ZSS_L2_C+++++++++++++++++++++ZSS_L2_SEL].[AUSTRALIA+++++++++++++++++++++0HIER_NODE];[ZSS_L2_C++++++++++++++++++++ZSS_L2_SEL].[INDIA++++++++++++++++++++++++++0HIER_NODE]&sRefresh=Y&lsSFiscalPeriodFrom=001.2010&lsSPreviousWorkingDay=10%2F28%2F2010&lsSTargetCurrency=HKD&lsSFiscalPeriodTo=011.2010
    Result: Report is refreshed
    Status: Passed
    Scenario2
    Only two levels are passed to Business
    http://mspr39.corp.medtronic.com:8080/OpenDocument/opendoc/openDocument.jsp?sap_sysid=DB1&sap_client=010&iDocID=11589&sRefresh=Y&lsSFiscalPeriodFrom=001.2010&lsSPreviousWorkingDay=10%2F28%2F2010&lsSTargetCurrency=HKD&lsSFiscalPeriodTo=011.2010&lsMBusiness=[0MAT_PLANT__ZBUSINESS++++++++RKEG_WWBUS_0MATPLANT].[ATV+++++++++++++++++++++++++++0HIER_NODE];[0MAT_PLANT__ZBUSINESS+++++++RKEG_WWBUS_0MATPLANT].[TPS++++++++++++++++++++++++++++0HIER_NODE]
    Result: Report is refreshed
    Status: Passed
    Scenario3
    When two levels are passed  for both OrganisationHierarchy,Business
    http://mspr39.corp.medtronic.com:8080/OpenDocument/opendoc/openDocument.jsp?sap_sysid=DB1&sap_client=010&iDocID=11589&lsMOrganisationHierarchy=[ZSS_L2_C+++++++++++++++++++++ZSS_L2_SEL].[AUSTRALIA+++++++++++++++++++++0HIER_NODE];[ZSS_L2_C++++++++++++++++++++ZSS_L2_SEL].[INDIA+++++++++++++++++++++++++0HIER_NODE]&lsRefresh=Y&lsSFiscalPeriodFrom=001.2010&lsSPreviousWorkingDay=10%2F28%2F2010&lsSTargetCurrency=HKD&lsSFiscalPeriodTo=011.2010&lsMBusiness=[0MAT_PLANT__ZBUSINESS+++++++RKEG_WWBUS_0MATPLANT].[ATV++++++++++++++++++++++++++++0HIER_NODE]
    Result: Report is  never refreshed and its keep on running
    Status: Failed
    Scenario4
    Only three levels are  passed for OrganisationHierarchy,
    No values are passed for Business
    http://mspr39.corp.medtronic.com:8080/OpenDocument/opendoc/openDocument.jsp?sap_sysid=DB1&sap_client=010&iDocID=11589&lsMOrganisationHierarchy=[ZSS_L2_C+++++++++++++++++++++ZSS_L2_SEL].[AUSTRALIA+++++++++++++++++++++0HIER_NODE];[ZSS_L2_C++++++++++++++++++++ZSS_L2_SEL].[INDIA+++++++++++++++++++++++++0HIER_NODE]; [ZSS_L2_C++++++++++++++++++++ZSS_L2_SEL].[ASEAN++++++++++++++++++++++++++0HIER_NODE]&lsRefresh=Y&lsSFiscalPeriodFrom=001.2010&lsSPreviousWorkingDay=10%2F28%2F2010&lsSTargetCurrency=HKD&lsSFiscalPeriodTo=011.2010
    Result: Report is  never refreshed and its keep on running
    Status: Failed
    Thanks
    Arun

    Hello Rupachandran,
    the memory id won't work as it is within the current session only.
    you have two main options:
    1) pass parameters in URL
    2) persist the parameters somehow ( shared memory area, database table )  and pass a GUID in the URL which refers to these.
    strangely enough although this is a mirror of most of the posts here, which want to launch WDA apps from standard GUI based code, the techniques are very very similar.
    you might get some help from looking at this recent post Calling webdypro through R3 Function module

  • BlackBerry Browser Channel Push from SAP Portal

    I have posted the following on blackberry forums, not much success, maybe some portal person can suggest how to move forward. I've taken some standard blackberry java code that pushes a web page to a blackberry device, and executed from my java vm and it works. I then put the same java code inside an AbstractPortalComponent, and executed from portal, it does not work. Read following posting on blackberry forums ...
    I am attempting to implement a simple Browser Channel Push from within SAP Portal server.
    I have successfully executed  standard code from my local Java VM. I get the custom icon on my blackberry device, and when I click on it, it loads the web page from device cache.
    I have moved the exact same code into a SAP wrapper method and executed from SAP Portal. There are no additions in my code relating to the push.
    I get the custom icon on my blackberry, but when I click on it, a http request is performed every time.
    Below is the MDS log for the successful push, from local java:
    <2008-05-12 13:17:38.427 EST>:[408]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = PushServlet: POST request from [UNKNOWN @ 10.17.224.154] to [DESTINATION=Moris.T.Mihailidis @bhpbilliton.com&PORT=7874&REQUESTURI=/] : 1 bytes...>
    <2008-05-12 13:17:38.427 EST>:[409]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = submitting push message with id:312ce7cb:119db0ce9da:-7fff-1036777698>
    <2008-05-12 13:17:38.427 EST>:[410]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Executing push submit command for pushID:312ce7cb:119db0ce9da:-7fff-1036777698>
    <2008-05-12 13:17:38.427 EST>:[412]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Pushing message to: 252597d5>
    <2008-05-12 13:17:38.427 EST>:[413]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:1>
    <2008-05-12 13:17:38.427 EST>:[414]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = added server-initiated connection = -2031026175, push id = 312ce7cb:119db0ce9da:-7fff-1036777698>
    <2008-05-12 13:17:38.427 EST>:[415]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Available threads in DefaultJobPool = 199 running JobRunner: DefaultJobRunner-197>
    <2008-05-12 13:17:38.427 EST>:[416]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION =>
    <2008-05-12 13:17:38.427 EST>:[416]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Transmission Line Section]:>
    <2008-05-12 13:17:38.427 EST>:[416]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = POST / HTTP/1.1>
    <2008-05-12 13:17:38.427 EST>:[416]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Headers Section]: 13 headers>
    <2008-05-12 13:17:38.427 EST>:[416]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Parameters Section]: 3 parameters>
    <2008-05-12 13:17:38.427 EST>:[417]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION =>
    <2008-05-12 13:17:38.427 EST>:[417]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Transmission Line Section]:>
    <2008-05-12 13:17:38.427 EST>:[417]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = POST / HTTP/1.1>
    <2008-05-12 13:17:38.427 EST>:[417]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Headers Section]: 13 headers>
    <2008-05-12 13:17:38.427 EST>:[417]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026175, HTTPTRANSMISSION = [Parameters Section]: 3 parameters>
    <2008-05-12 13:17:38.427 EST>:[418]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Finished JobRunner: DefaultJobRunner-197, available threads in DefaultJobPool = 200, time spent = 0ms>
    <2008-05-12 13:17:38.458 EST>:[421]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedSendingQueue, DEVICEPIN = 252597d5, USERID = u4>
    <2008-05-12 13:17:38.458 EST>:[424]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 444006409, DEVICEPIN = 252597d5, USERID = u4, VERSION = 16, CONNECTIONID = -2031026175, SEQUENCE = 0, TYPE = NOTIFY-REQUEST, CONNECTIONHANDLER = http, PROTOCOL = TCP, PARAMETERS = [CORMEL-BES03/10.16.60.49:7874], SIZE = 666>
    <2008-05-12 13:17:38.458 EST>:[425]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:0>
    <2008-05-12 13:17:38.458 EST>:[426]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Received_from_above, DESTINATION = 252597d5, GMETAG = 444006409, CONTENT = IPPP, CONFIRM = FALSE, SIZE = 713>
    <2008-05-12 13:17:38.458 EST>:[427]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Sent_down, DESTINATION = 252597d5, GMETAG = 444006409, SIZE = 745, SOURCE = , GUID = null>
    <2008-05-12 13:17:38.458 EST>:[428]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S82672876, EVENT = Sending, VERSION = 1, COMMAND = SEND, TAG = 444006409, SIZE = 858>
    <2008-05-12 13:17:40.614 EST>:[429]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S82672876, EVENT = Receiving, VERSION = 1, COMMAND = STATUS, TAG = 444006409, SIZE = 10, STATE = DELIVERED>
    <2008-05-12 13:17:40.614 EST>:[430]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Notification, NOTIFICATION_TYPE = DELIVERED, GMETAG = 444006409, CONTENT = IPPP>
    <2008-05-12 13:17:40.614 EST>:[431]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 444006409, STATE = DELIVERED>
    <2008-05-12 13:17:40.614 EST>:[435]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Device connections: AVG latency (msecs)2156>
    <2008-05-12 13:17:40.614 EST>:[436]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, Removed push connection:-2031026175>
    <2008-05-12 13:17:45.239 EST>:[437]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 252597d5, USERID = u4>
    Below is the MDS log for the unsuccessful push, from SAP Portal:
    <2008-05-12 13:22:20.685 EST>:[453]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = PushServlet: POST request from [UNKNOWN @ 10.17.224.154] to [DESTINATION=Moris.T.Mihailidis @bhpbilliton.com&PORT=7874&REQUESTURI=/] : 1 bytes...>
    <2008-05-12 13:22:20.685 EST>:[454]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = submitting push message with id:312ce7cb:119db0ce9da:-7ffe-1036777698>
    <2008-05-12 13:22:20.685 EST>:[455]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Executing push submit command for pushID:312ce7cb:119db0ce9da:-7ffe-1036777698>
    <2008-05-12 13:22:20.685 EST>:[457]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Pushing message to: 252597d5>
    <2008-05-12 13:22:20.685 EST>:[458]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:1>
    <2008-05-12 13:22:20.685 EST>:[459]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = added server-initiated connection = -2031026174, push id = 312ce7cb:119db0ce9da:-7ffe-1036777698>
    <2008-05-12 13:22:20.685 EST>:[460]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Available threads in DefaultJobPool = 199 running JobRunner: DefaultJobRunner-196>
    <2008-05-12 13:22:20.685 EST>:[461]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION =>
    <2008-05-12 13:22:20.685 EST>:[461]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Transmission Line Section]:>
    <2008-05-12 13:22:20.685 EST>:[461]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = POST / HTTP/1.1>
    <2008-05-12 13:22:20.685 EST>:[461]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Headers Section]: 15 headers>
    <2008-05-12 13:22:20.685 EST>:[461]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = ReceivedFromServer, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Parameters Section]: 3 parameters>
    <2008-05-12 13:22:20.685 EST>:[462]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION =>
    <2008-05-12 13:22:20.685 EST>:[462]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Transmission Line Section]:>
    <2008-05-12 13:22:20.685 EST>:[462]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = POST / HTTP/1.1>
    <2008-05-12 13:22:20.685 EST>:[462]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Headers Section]: 15 headers>
    <2008-05-12 13:22:20.685 EST>:[462]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, HANDLER = HTTP, EVENT = SentToDevice, DEVICEPIN = 252597d5, USERID = u4, CONNECTIONID = -2031026174, HTTPTRANSMISSION = [Parameters Section]: 3 parameters>
    <2008-05-12 13:22:20.685 EST>:[463]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Finished JobRunner: DefaultJobRunner-196, available threads in DefaultJobPool = 200, time spent = 0ms>
    <2008-05-12 13:22:20.716 EST>:[466]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedSendingQueue, DEVICEPIN = 252597d5, USERID = u4>
    <2008-05-12 13:22:20.716 EST>:[469]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 444006411, DEVICEPIN = 252597d5, USERID = u4, VERSION = 16, CONNECTIONID = -2031026174, SEQUENCE = 0, TYPE = NOTIFY-REQUEST, CONNECTIONHANDLER = http, PROTOCOL = TCP, PARAMETERS = [CORMEL-BES03/10.16.60.49:7874], SIZE = 707>
    <2008-05-12 13:22:20.716 EST>:[470]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Number of active push connections:0>
    <2008-05-12 13:22:20.716 EST>:[471]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Received_from_above, DESTINATION = 252597d5, GMETAG = 444006411, CONTENT = IPPP, CONFIRM = FALSE, SIZE = 754>
    <2008-05-12 13:22:20.716 EST>:[472]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Sent_down, DESTINATION = 252597d5, GMETAG = 444006411, SIZE = 786, SOURCE = , GUID = null>
    <2008-05-12 13:22:20.716 EST>:[473]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S82672876, EVENT = Sending, VERSION = 1, COMMAND = SEND, TAG = 444006411, SIZE = 890>
    <2008-05-12 13:22:22.951 EST>:[474]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S82672876, EVENT = Receiving, VERSION = 1, COMMAND = STATUS, TAG = 444006411, SIZE = 10, STATE = DELIVERED>
    <2008-05-12 13:22:22.951 EST>:[475]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = GME, EVENT = Notification, NOTIFICATION_TYPE = DELIVERED, GMETAG = 444006411, CONTENT = IPPP>
    <2008-05-12 13:22:22.951 EST>:[476]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 444006411, STATE = DELIVERED>
    <2008-05-12 13:22:22.966 EST>:[480]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Device connections: AVG latency (msecs)2250>
    <2008-05-12 13:22:22.966 EST>:[481]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, Removed push connection:-2031026174>
    <2008-05-12 13:22:26.138 EST>:[482]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Statistics save task started>
    <2008-05-12 13:22:26.138 EST>:[483]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = SCM, EVENT = Statistics save task finished -- number of rows inserted:5>
    <2008-05-12 13:22:27.248 EST>:[484]:<MDS-CS_CORMEL-BES03_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 252597d5, USERID = u4>
    The differences I see:
    1)     The push from SAP has 15 headers compared to 13
    2)     The Sending and Receiving SIZE values
    Can you assist me with identifying why these differences are occurring.
    If I can solve these, I believe my Push from SAP will work.

    hi
    You can use UME API and do a force login, but I would recommend to use this only if the user is an authenticated user.
    request.setAttribute(ILoginConstants.LOGON_UID_ALIAS, "userID"); 
    UMFactory.getLogonAuthenticator().logon(request,response,"uidpwdlogon");
    you can also do a force logon using 
    UMFactory.getAuthenticator().forceLoggedInUser(request, response);
    regards
    Jagdeshwar

  • Url Iview from SAP Portal to Infoview encounters "Access is denied"

    Hi
    We are using URL Iview to point to Business Objects Infoview from SAP Portal. Our requirement is to launch the Infoview within the portal content area. We are able to preview the iview, but encounter "Access is denied" error when we add the iview to page, we realised that we are only able to launch infoview when it is setup to open in a new window.
    Is there a way where we can show the Infoview in portal content frame.
    Regards
    Kamal

    Hi experts,
    i got the same problem how to integrate the InfoView Appl into the "Portal Content Area" and not only as an new Window.
    When i try to analyse the problems, the error stacks say some thin about that an Java Script is trying to change the browser size and the portal is not allowing this... thats my assumptions.
    Has anybody how we could solve this tricky topic ?
    For details to to customize the URL iView please refer to this thread: Integration of InfoView into SAP Portal using SSO
    kind regards
    Stefan

  • Security warning while printing PO from SAP Portal.

    Dear Experts,
    We are facing below error while printing PO from SAP Portal.  After accepting the condition and clicking on RUN the pop-up comes again and again.
    Please could you advise the resolution of this. Does any browser setting needs to be changed ?
    Please suggest.
    Regards,
    Arpit C

    Hi Arpit,
    Please try below steps...
    1. Go into the Control Panel
    2. Double click on Java to open the Java Control Panel
    3. Go to the Advanced Tab
    4. Expand Mixed code
    5. Select the option for “Enable – hide warning and run with protections”
    For detailed information, please refer to the article:
    Error : Java has discovered application components that could indicate a security concern
    http://wiki.scn.sap.com/wiki/display/BOBJ/Web+Intelligence+and+Oracle+Java+Runtime+Environment+Known+Issues+in+SAP+BI+4.1
    Regards,
    Prithviraj.

  • Error while importing on local files/queries from Sap Portal EP6

    Hi,
    When i try to import a file from sap portal to the local PC, I get a screen with the header
    "Enter Some File attributes".
    Text displayed in the screen is "Please wait. You will be forwarded automatically. This page had to be included for technical reasons".
    Also I obtain first in the bottom of screen the following message “SAP graphics data not supported” and then “Applet Query.class (1}”.
    I have done these steps to answer thr problem but without success:
    Sap note 688295 :
    -     change file ItsRegistryWGATE.xml (in e.g. c:\program files\sap\its\6.20\config)
    -     search for "<value name="ConfigMonitorEnabled" type="text">no</value>" and change 'no' to 'yes'
    -     call http://hostname.domain.com/scripts/wgate/wgate-restart to reload the WGate configuration file ItsRegistryWGATE.xml
    -     restart
    Sap Note 893567:
    But it doesn’t correspond to us/It asks for SP57 but we’re under SP58.
    We have no Reverse Proxy on ITS, no HTTPS, no SSL.
    Please let me know if anybody experienced this problem before and how to fix it.
    Thanks a lot for your help.
    Best Regards
    Blandine

    Take a look at this blog post,
    http://brainof-dave.blogspot.com/2008/08/remote-certificate-is-invalid-according.html
    Dimitri Ayrapetov (MCSE: SharePoint)

  • SSO to J2EE application from SAP Portal

    Hi
    I am trying to do SSO from SAP Portal to a J2EE engine which runs on SAP Web AS.
    Here are my queries
    1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.
    2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.
    3.I want to use SAP Logon tickets generated by the Portal to enable SSO.
    I have done all the necessary configurations in the J2EE server.
    1. Imported the Portal's verify.der certificate.
    2. Adjusted the login modules stack for the application accordingly.
    Can anyone please help me out with this or throw some light.
    Please help.
    Thanks in advance,
    Vivek
    PS - Points will be definitely rewarded

    Hi Vivek,
    Let me give you the solution for both questions differently.
    <b>Ques 1. When I deploy a J2EE application on Web AS , I dont get any login screen. How can I make sure that if a user wants to access this J2EE application he should get a login screen and provide his login credentials first, only then would he be able to access the J2EE application.</b>
    <b>Ans:</b> For doing this in the code of your J2EE application you have to write a if statement which will check if the user ID is coming from the backend or not. If yes then you display that logon page else you just pass that username which is coming from backend and displ;ay the page accordingly.
    <b>Ques 2.When I am done with Part 1. If a user tries to access this J2EE application from the Portal (asuming the user Id's in Portal and J2EE application are same and both are in the same domain) , I should not get any login screen and should be able to view the J2EE application.</b>
    <b>Ans:</b> Yes, this is what I am explaining you. Even I had also made same kind of J2EE application in which if the user is coming from the backend then he/she will look the J2EE screen else if the username is not coming then he will se the Login screen. Exactly same as what are looking for.
    <b>3.I want to use SAP Logon tickets generated by the Portal to enable SSO.</b>
    <b>Ans:</b> I have used User Mapping instead of SAP Logon ticket. Well that is also the option for SSO but personally I think User Mapping is easy and better way for implementing SSO.
    I dont know whether this will help you or not. Please let me know. I can definately help if you want to implement SSO using User Maping.
    Regards
    Pravesh
    PS: Please dont forget to reward points.

  • Upload PDF file from SAP Portal and save in SAP

    A file in PDF format needs to be uploaded from SAP Portal and the file is to be saved in SAP. Request for help, how to do the same. What are the FM to be used etc..
    Thanks,

    hi
    Use FM  GUI_UPLOAD with file type as BIN
    there are similar threads...pls refer to them for more details:
    https://www.sdn.sap.com/irj/sdn/profile?userid=3166533
    Upload pdf file to SAP
    PDF File
    reward if helpful
    regards,
    madhu

  • Error while creating user in LDAP (MS ADS) from SAP Portal 7.0

    Hi,
    Is it obliged to use SSL connection to create new user in LDAP (MS ADS) from SAP Portal 7.0 ?
    I've configured the UME with ldap server adress and port 389. And use configuration file "dataSourceConfiguration_ads_writeable_db.xml"
    I succeed to view users existing in LDAP but when I try to create new user I've the following error message:
    LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0)
    Thanks and regards

    check this link
    http://help.sap.com/saphelp_nw70/helpdata/EN/37/cfd93f130f9115e10000000a155106/frameset.htm
    and at the end of the page there is a qoute "We strongly recommend that you configure SSL between the UME and the LDAP directory. Some LDAP directories, such as Microsoft Active Directory Server, require an SSL connection if you want to create users on the LDAP directory"
    hence follow this link to configure SSL
    http://help.sap.com/saphelp_nw70/helpdata/EN/7d/77fa735e5f47a2a50b5336fd1b5a61/frameset.htm
    hope this helps..
    [Rahul|http://rahulursportal.blogspot.com/]

  • Can I access Webi queries and Xcelsius dashboards from SAP portal?

    Hello,
    Can I access Webi queries and Xcelsius dashboards from SAP portal?  And how?
    Thanks

    Portal Part 1
    /people/ingo.hilgefort/blog/2010/03/29/sap-businessobjects-enterprise-sap-enterprise-portal--part-1-of-4
    Portal Part 2
    /people/ingo.hilgefort/blog/2010/03/30/sap-businessobjects-enterprise-sap-enterprise-portal-part-2-of-4
    Portal Part 3
    /people/ingo.hilgefort/blog/2010/04/08/sap-businessobjects-enterprise-sap-enterprise-portal--part-3-of-4
    Portal Part 4
    /people/ingo.hilgefort/blog/2010/04/21/sap-businessobjects-enterprise-and-sap-enterprise-portal--part-4-of-4
    Ingo

  • How can I access BOE Universes from SAP Portal?

    I'm trying to access an Universe on BOE server from SAP Portal.  Does anyone know if this is possible or not?  Additions, is it possible to get access to the list of universes from the portal?

    Hi Ingo,
    I think we are talking about the same KM.  Yes, I could see all folders from the BOE server inside portal KM repository.  However, I could not see any of the universes.  If I put a Webi document in one of the visible folders, then I can see the webi document.
    If it is possible, I'd prefer not to go the other route to use SDK.
    Thanks,
    Garry

  • How to get pdf file from sap presentation server using java connector

    Hi Friends,
    with the below code i am able to get po details in pdf in presentation server.
    DATA : w_url TYPE string
           VALUE 'C:\Documents and Settings\1011\Solutions\web\files\podet.pdf'.
    CALL FUNCTION 'ECP_PDF_DISPLAY'
            EXPORTING
              purchase_order       = i_ponum
           IMPORTING
      PDF_BYTECOUNT        =
             pdf                  = file  " data in Xsting format
    *Converting Xstring to binary_tab
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer                = file
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
            TABLES
              binary_tab            = it_bin " data in binary format
    **Downloading into PDF file
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
      BIN_FILESIZE                    =
              filename                        = w_url
              filetype                        = 'BIN'
             TABLES
              data_tab                        = it_bin
    when i am using java connector , to retirve the file from presentation server , the follwoing error i am getting...
    init:
    deps-jar:
    compile-single:
    run-single:
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in Control Framework
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
            at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1244)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3842)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3287)
            at PdfGen.<init>(PdfGen.java:35)
            at PdfGen.main(PdfGen.java:78)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 1 second)
    i debugged too, problem with <b>gui_download......</b>
    I am very glad to all with your suggestions!!
    Regards,
    Madhu..!!

    Hi
    You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
    How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
    Max
    Edited by: max bianchi on Oct 13, 2011 10:27 AM

  • Killing Java app from C

    Ive seen this question posted before, but never found a good answer. I am invoking a JVM from a legacy C app (via JNI_CreateJavaVM) and I want to be able to end the JVM and have the C app continue. The problem is that a call to System.exit() from inside the java app causes the entire native process (not just the JVM) to be killed. A call to DestroyJavaVM() does not unload the
    JVM (as it claims it does in the API documentation).
    Currently, the Java code calls dispose and System.gc (for good measure) on exiting, although this doesnt completely kill the java app. If the user wishes to invoke another Java app, the C code uses JNI_GetCreatedVMs to see if one already exists, and if so uses AttachThread (or GetEnv) to hook to the existing JVM to run the new Java app. The problem with this is with complicated GUI apps, the machine soon hits a wall, I guess because of un-gc'd stuff laying around.
    Is there a way to kill the app from java without using System.exit or is there a way to unload the JVM from the C app?

    Unfortunately I am running into the same issues using JDK1.4 on Win32. Basically the call to jvm->DestroyJavaVM() is NEVER returning. This seems to mainly be a problem when you use classes which require a native class loader to load native libraries. EX: classes which use System.loadLibrary("some native library"). Has anyone found a workaround to allow us to stop the jvm from the native side when these are present?
    Also if anyone in interested - this is the exact c++ code I am currently using:
        if(vm != NULL) {
             * Detach the current thread from the vm so that it appears to have
             * exited when the process has detatched from the dll.
            if (vm->DetachCurrentThread() != 0) {
                MessageBox(NULL,"Could not detatch the Java Virtual Machine","DEBUG Info",MB_OK+MB_ICONEXCLAMATION);
            MessageBox(NULL,"Try to destroy the VM","DEBUG Info",MB_OK+MB_ICONEXCLAMATION);
            vm->DestroyJavaVM();
            vm = NULL;
        MessageBox(NULL,"JVM destroyed successfully","DEBUG Info",MB_OK+MB_ICONEXCLAMATION);Basically all the calls succeed except the vm->DestroyJavaVM(); including the call to detatch the current thread from the VM! Am I missing something obvious? Is this a known bug? Anyone know any workarounds? Aany and all constructive comments are welcome.

Maybe you are looking for