Portal application can't read request info

hi all,
i use  portal application for change portal user's infos.but when i sent request info,
request.getServletRequest().getInputStream() method is cutting my sending line after 90. character.
in R3 side i use HTTP_POST function and fill request info (table paramater).
i tried to send 2 line(less than 90 character) in request info, but i can't read second line in java code.
Is IPortalComponentRequest accept only 90 character ?
how can i solve this problem , any idea ?
my code is below, variable "str" is filling only first 90 character;
     protected void doOnNodeReady(
               IPortalComponentRequest request,
               IEvent event) {
     String str = "";
     try {
          InputStream is = request.getServletRequest().getInputStream();
          InputStreamReader isr = new InputStreamReader(is);
          int c;
          while ((c = isr.read()) > -1) {
          str = str + (char) c;
            } catch (java.io.IOException ex) {
             str = "Error accessing input stream";
thanks

New discovery...If I shut down all instances of IE on my machine, then reopen my test form, it works. Once. The second time I try it I get the same peculiar behavior again, until I again shut down all instances of IE.

Similar Messages

  • Pls Help - How can I read the info in system setting

    I was trying to get the user login information to auto authenticate a session. The information is in system environment setting. ie say JAVA_HOME when you type SET in the command prompt in w2k.
    Is it possible for a JSP code to read that info? Thank you.

    I have tried using the following in a jsp file:
    <%@ page import="java.io.*"%>
    <%@ page import="java.lang.*" %>
    <%
    Runtime c = Runtime.getRuntime();
    Process p = c.exec("SET");
    BufferedReader br = new BufferedReader (new InputStreamReader (p.getInputStream()));
    %>
    Somehow, I got this error. Any idea how I could fix it. Thanks.
    ---- root cause ----
    java.io.IOException: CreateProcess: SET error=2
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.(Win32Process.java:61)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:546)
         at java.lang.Runtime.exec(Runtime.java:413)
         at java.lang.Runtime.exec(Runtime.java:356)
         at java.lang.Runtime.exec(Runtime.java:320)
         at org.apache.jsp.env1_jsp._jspService(env1_jsp.java:49)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

  • Using User Management Engine API in Portal Application

    Hello,
    I actually develope a simple Portal Application, which print any User-Infos. Especially I need the date of the last Login. For this purpose I read the Article Using User Management Engine API - Portal - SAP Library where they use the library com.sap.security.api. In the articel they describe also, how to set DC dependencies. But this doesn't function for a Portal Component, because they do not appear in the Component Browser.
    So my question is, how get I the User Management Engine API referenced in my Portal Application, so that I can use the package com.sap.security.api. In the filesystem I can not find a JAR-File for the Development Componenten tc/je/usermanagement/api
    Greetings,
    Thomas

    HI,
    Getting the last logon date can be a small problem. There is a method called: getLastSuccessfulLogonDate, but that one is deprecated since NW 2004s.
    https://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/IUserAccount.html#getLastSuccessfulLogonDate()
    In NW 7.3 the method is still there: Generated Documentation (Untitled), but even so, JavaDoc states that the value is not updated automatically
    "get last sucessful logon date NOTE: This attribute is not automatically updated during login."

  • Mail attachment can't read

    Hello we have problem with mail after we got the new update Ios6 for Ipad3, Mail attachment can't read all info when receiving in xcl document dates show 0000.All IPad 3 don't work. Please any one have the same problem?Or any fix available.Thanks.Saca61  

    Mike,
    I have the exact same problem.  I have tried deleting mail messages but still can't seem to find the appropriate one to delete because the message number does not seem to correspond to Apple Mail's numbering system.  Have you had any luck with this?
    [email protected]

  • How to run an portal application in CE

    Hi guys,
    I am now to CE. I found the portal application architecture has changed a little.
    An portal application previously are packaged into a par package, and deploy to irj as an portal application, but I found in CE, it is packaged into an web application and not under irj any more.
    Another encountered problem is in previously release (EP 7.0), we can created an iview directly from an portal application, but in CE we found we can only created iview from iview template.
    So my question is:
    How could we run our developed portal application?
    for example our simplest portal application name is :
    NewPortalApplicationProject
    the portalapp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="ServicesReference" value="com.sap.netweaver.bc.uwl"/>
      </application-config>
      <components>
        <component name="custUWL">
          <component-config>
            <property name="ClassName" value="com.xmyang.uwl.custUWL"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    How to call the custUWL portal component?
    many thanks!
    Yang

    Hi Yang,
    In CE the portal applications can be found under, Content Administration->Portal Content->Portal Applications.
    Try to look for your portal application in the above repository and Right click->Copy. Then go to the Portal Content Folder and try to Paste as a PCD object.
    In CE we have something called GPAL. Under this, the Repositories for different applications developed outside the portal are created e.g. Portal Applications, Web Dynpro Applications, Portlet Applications, WSRP Objects etc so that the PCD content can be created out of them.
    Regards,
    Ajay

  • I tried to turn on the application that would read a book to me.  Now I can not enter my log in info

    I tried to turn on an application that would read a book to me.  The machine spoke.  Now I can not log in.  I did get the machine to stop talking with double taps.

    iOS: Device disabled after entering wrong passcode
                  http://support.apple.com/kb/ht1212

  • How to read text file content in portal application?

    Hi,
    How do we read text file content in portal application?
    Can anyone forward the code to do do?
    Regards,
    Anagha

    Check the code below. This help you to know how to read the text file content line by line. You can display as you require.
    IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    IResourceContext resourceContext = new ResourceContext(user);
    String filePath = "/documents/....";
    RID rid = RID.getRID(filePath);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    InputStream inputStream = resource.getContent().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    String line = reader.readLine();
    while(line!=null) {
          line = reader.readLine();
         //You can append in string buffer to get file content as string object//
    Regards,
    Yoga

  • How to read xml file present in the UCMS from  webcenter portal application

    Hi,
    I'm new to webcenter portal and would like to know how to read an xml file which is present in UCMS 11g(contributors folder) from webcenter portal application.
    Thanks in advance

    I guess I had mentioned that I want to read it via my webcenter portal app rather than login to ucms and searching it via url.
    I want text labels and button names being stored in the xml file which I'm going to keep in the UCMS.
    After reading that from the xml will be placed at appropriate locations like the button values and label feilds, so that we dont need to deploy entire app for this kind of simple changes.
    Now can anyone provide some help with the api's related to this?

  • How can debugge the portal application

    hi sdn,
    how can we debugge the portal application.what are steps are needed for this
    any documents please forward me.

    Hi Kiran,
        Following is the steps for debugging the portal application.
    <b>Steps for Debugging</b>
    <i><b>1.     Stop the Portal Server if Running.</b></i>
    <i>
    <b>2.     Launch the Config tool of J2EE Engine & Set Up the debugging of the     current instance.</b></i>
    &#61607;     The Config tool is located in the directory ,
    <J2EE-Install-Dir>\JC00\j2ee\configtool\configtool.bat
    &#61607;     Switch to the current instance & go to the debug tab.
    &#61607;     Set “Enable Debug Mode” checked, start the VM of J2EE in debug mode.
    &#61607;     Set a valid debug port, default port is 50021.
    &#61607;     Save the settings and restart the J2EE Engine.
    <i><b>3.     Restart the Portal Server.</b></i>
    <i><b>4.     Open SAP Netweaver Developer Studio.</b></i>&#61607;     Go to Window --- > Open Perspective --- > Enterprise Portal & also open the Debug perspective.
    &#61607;     This enables you to develop & deploy EP Components to your development Portal.
    <i><b>5.     Configure Development Environment for Debugging.</b></i>
    &#61607;     Create new Remote Java Application debug settings.
    &#61607;     Pressing the debug button attaches the SAP Netweaver Developer Studio to the Specified portal installation.
    &#61607;     Go to Debug --- > Remote Java Application & create a new setting for your current Portal Application Project.
    &#61607;     Insert the portals DNS or IP Address and the debug port specified in the Config tool, default port is 50021.
    &#61607;     If the portal runs on the local machine you can enter localhost instead of IP address or DNS name.
    &#61607;     Make sure that your Portal Application is already deployed in the portal.
    <i><b>6.     If the connection is attached to the J2EE engines VM session, the SAP Netweaver Studio is ready to debug.</b></i>
    <u><b>BREAKPOINTS</b></u>
    <i>A Breakpoint causes the execution of a program thread to suspend at the location here the breakpoint is set.</i>
    <i><b>7.     Set a breakpoint in your custom coding. The debugger will stop if the VM reaches this marked code line.</b></i>
    To enable the breakpoint,
    &#61607;     Locate the breakpoint in the marker bar of an editor.
    &#61607;     Open the breakpoint’s context menu & select  ‘Enable Breakpoint’.
    &#61607;     The breakpoint image will change back to a blue circle.
    <b>VARIABLE VIEW</b>
    <i>The “variables view” contains information about the variables in the currently-selected stack frame.</i>
    <i><b>8.     To Launch the Variables View :,</b></i>
    Choose Window -- > Show View -- > Other -- > Select Debug -- > Variables View.
    <i><b>9.     Force the Portal to execute your deployed coding.</b></i> The VM stops at the specified break point.
    10.     The current values of the member variables can be tracked in the “Variables” window of SAP Netweaver Developer Studio.
    <i><b>** Reward points if you find this Post Useful & Helpful.</b></i>
    <i>Regards,
    Eben.</i>

  • Can anyone help on integrating Unifier with WebCenter Portal ? We are looking for a solution where we can show Unifier pages within WebCenter Portal application. Is this possible ?

    Can anyone help on integrating Unifier with WebCenter Portal ? We are looking for a solution where we can show Unifier pages within WebCenter Portal application. Is this possible ?

    If you simply would have posted here first, there are plenty of people who would have informed you of the current policy to have a data plan active on an account during the entire contract if purchasing a discounted smartphone.
    Unfortunately, there are just as many on here who would claim the people informing you about this policy of being Verizon plants spreading disinformation and trying to make people afraid to upgrade via this route.
    Yes this is a new policy, one which has been pointed out multiple times in these forums.  Good luck, but I doubt you will have an outcome over this which will make you happy.
    Verizon is closing as many loopholes to keep unlimited data as they can.

  • I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries)

    I bought the Keynote app for my MacBook, but when I open the application and try to install it, I get an error message saying that the application will not work with my MacBook. What gives? And, can I please request a refund? ($19.99 = a week's groceries).
    Thank you for your help! - I did try looking for all available specs about Keynote on the Apple iTunes website, and found nothing that could help me. HELP!

    1
    Close all iWork applications
    2
    Uninstall Keynote; this must be done with an application remover tool to delete the installation properly. Appcleaner is known to work correctly for this purpose, it is free and can be downloaded from here: Appcleaner Download
    3
    empty the trash
    4
    shutdown the Mac and restart. After the start up chime, hold down the shift key until the apple logo appears
    let the Mac complete the start up procedure completely, it will take longer than usual as the hard drive is being repaired
    5
    Reinstall Keynote by logging into the Mac App Store using download / install

  • Can't create portal application project with netweaver development studio

    Hi All,
    I want to follow the toturial (http://help.sap.com/saphelp_nw04/helpdata/en/9e/7d96f7087311d7b84600047582c9f7/frameset.htm) to create a portal application with netweaver , but I am failed at the first step, I can not found "Portal Application Project" option by new->other.
    the version of netweaver development studio I am using is
    Version: 7.2.0
    Build id: 200702220224
    do I need to install a plug - in? if yes, anyone can tell me where to download it?
    thanks & regards, Bin

    Hii...
    In NWDS goto Windows> Open Perspective> others--> Enterprise portal select this and ok....
    Goto File> New> Project> select Portal Application> enter project name and click ok...
    refer this blog also...
    Overview of the Content Development Process
    regards,
    Chinnadurai.R

  • I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restore bcause there are files that are used by other application. I am having Widows

    I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restored bcause there are files that are used by other application. My iPOD appears in My Computer in drive H as a mass storage generick volume

    Try disabilng the Enable Disk Use option from under the iPod's Summary tab, applying the changes, and seeing if that helps.
    Otherwise, temporarily disabling any antivirus, security, firewall, or file indexing software that may be running on your system and then try restoring your iPod again.
    B-rock

  • Where I can creat a new portal application?

    hello:
       I want to <u>Create a new Masthead Component</u>:
      a) Go to System Administration – Support – Support Desk – Portal Runtime – Browse deployment. Navigate to ROOT/WEB-INF/deployment/pcd and select file com.sap.portal.navigation.masthead.par.bak. Click the download link. Open the zip file and extract it to your local file system.
      b) Open Eclipse and <u><b>create a new portal application project</b></u> based on the par file (File – Import – PAR file).
    my problem is I don't know where I can creat a new portal application?Do I need download a software?
      anyone can help me ?And give me the tool!
      thanks in advance!

    Hi,
       For NW2004s you can download from <a href="https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6">here</a>.
    The steps for installation are:
    1.Begin installation by executing JDTSetup.exe
    2.Enter installation directory where u wish to install.
    3.You will have to enter your Java SDK directory. NDS needs at least 1.4.2 version or later.
    4.Enter folder name for workspace storage: C:\NWDS\Workspace or C:\SAP\JDT\Workspace
    5.After installation is finished start Developer Studio by going to SAP Netweaver Deveoper Studio icon on your desktop.
    6.Open EP Perspective by going to Window->Open Perspective->Other->Enterprise Portal
    Hope this helps.
    Regards,
    Pooja.
    Message was edited by:
            Pooja S

  • Query execute warning - Not all info-objects can be read

    When I execute query, I get warning "Not all infobjects can be read". This happens only with business user ids and not with developer IDs. Long text is -
    Inconsistent InfoObjects exist in the system. The inconsistency may be caused by a program termination while saving or activating the InfoObject or in its after import treatment.
    We are not able to trace which info-object is having problem. Problem is also while displaying data in LISTCUBE. Is this has to do anything with authorizations? We are not able to catch exact source of problem. Any ideas will be helpful.
    -Abhijit

    Hi,
    Do you have the problem with LISTCUBE with developer userd ID also ?
    Check the Consistency of the InfoProvider and activate it once more.
    Regards
    ReddyA

Maybe you are looking for

  • Flashing MB using MSI Forum HQ USB Flashing Tool

    As somebody suggested here at forum I finally attempted on flashing, everything just fine till the last step after this window windows just flashes too quickly and it exits on it's own It never gave this last window or those option is it possible tha

  • BAdi for Search Criteria in IC

    Hi Experts, I am working on the UI of the IC, i have to implement a BAdi for the search criteria in the Account Identification -> ERP Sales Document , I am trying this badi "CRM_BUPA_IL_SEARCH" but this is not getting triggered. Can anyone suggest an

  • Premiere pro CC2014 crashes on new imac with AMD Radeon R9 M295X

    Premiere Pro CC2014 starting up crashes with error "Premiere Pro could not find any capable video play modules" We use new iMac with OS X 10.10.1 and graphic card AMD Radeon R9 M295X 4096MB which is working faultlessly with all Adobe programs includi

  • Pacman is crashed,can't do anything with pacman

    pacman -Syu pacman: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

  • Time Config and Metric Refreshes

    Post Author: owen CA Forum: Performance Management and Dashboards I have a daily calendar setup for the finnacial year 01/04/08 to 31/03/09 set up in Time Config. When setting up my metrics i selected the option to stop at current period, which only