Request dispatch problem

To all
The problem is that my request dispatching is not forwarding the request and I haven't got a clue why. I have a upload servlet which is working fine as it parses the request and the forwards you to the same jsp page or the next jsp page according to what values it extracts. However I have set up a bean to display the contentType() of each request which is sent to it from the jsp pages, however nothing is displayed when the request is forwarded from the upload servlet. this is what is happening .....
public class upload extends HttpServlet {
public void doPost( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException {
HttpServletRequest request = _req;
HttpServletResponse response = _res;
parseMultiForm pMF = new parseMultiForm( _req );
Hashtable values = new Hashtable();
String param;
while ( ( param = pMF.getNextParameter()) != null) {
String value = pMF.getParameter();
values.put(param, value);
if (values.containsKey("submit")) {
String url = (String) values.get("reload");
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/" + url);
dispatcher.forward(request, response);
if (values.containsKey("continue")) {
String url = (String) values.get("next");
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/" + url);
dispatcher.forward(request, response);
The above servlet forwards the request to a jsp which does the following....
<jsp:useBean id="info" scope="session" class="InfoBean" />
<jsp:setProperty name="info" property="request" value="<%= request %>" />
However infoBean does not receive anything when the request is forwarded from the servlet??
Can anyone see anything obviously wrong?? is it to do with the JSP asking for the <%= request> and not receiving it because the request dispatcher has altered it in some way?
Thanks in advance anyone
Andy.

I have exactly the same problem. I can�t make the servlet pass the request object to the target jsp.
Try not changing the request nor the response. Unfortunatelly due to the kind of job i do inside my servlet there's no way i can't touch the request. So if you can make it work with mi advice please let me know.

Similar Messages

  • Urgent, creating xml files dynamically, request dispatcher problem

    hi all,
    Problem 1:
    There is a problem we are facing, while request dispatching.
    The files CBECBC.XML & CBECBC_Envelop.XML,
    both xml files. These files are created on request from the user, dynamically, and displayed on the browser,
    by including them in a jsp page.
    Here we face a problem when they are to be included into the jsp page.
    The error is the following :
    //////// Error ////////
    Could not find request dispatcher for the url CBECBC.xml
    Could not find request dispatcher for the url CBECBC_Envelop.xml
    The created files are stored in the "d:\pstudio35\desks\bank\BankWeb\".
    We are using " <jsp:include page="...."/> " (dynamic jsp include tag), to include the xml files.
    Problem 2:
    And could you just let me know how to include a xml file in a jsp file,
    so that the xml file is displayed in the exact format of xml(with the tags).
    I am using Pramati Studio 3.5
    Its urgent!!!
    Regards,
    Deepa Datar

    problem 2:
    either translate all < en > into < and > or display the XML in a textarea

  • Request dispatcher null

              The forward code we have is like
              public void forward(String url, HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException, IOException
              RequestDispatcher dispatcher = getServletConfig().getServletContext().getRequestDispatcher(url);
              dispatcher.forward(request, response);
              My question is:
              As per the documents
              The pathname must begin with a "/" and is interpreted as relative to the current
              context root.
              if my URL is "http://www.abcz.com/<somepage>
              request dispatcher is null? and on one server (say A) that is a problem but other
              server(say B) when given the full URL behaves ok.
              on server A I am getting a null pointer exception , which on tracing happens to
              be the request dispatcher is null.(If http://www.abcz.com/<somepage> is URL) but
              no null pointer exception if url is "/<somepage>"
              On B its behaving fine when given the "http://www.abcz.com/<somepage> " as URL
              to the method.
              Both server A and B are running wl6. Is the difference in service pack cause of
              the problem?
              Internally does wl6 parses the URL to find a relative URL?
              Any help will be greatly appreciated.
              Thanks
              Rumpa
              

    And the reason for that is, RequestDispatcher is per application
              scope. And RequestDispatcher comes from the ServletContext which is
              the current application scope. So it has to be relative url. If you
              need to forward to an absolute url, you can use sendRedirect instead.
              Bhaskar
              "Matt Krevs" <[email protected]> wrote in message news:<[email protected]>...
              > as far as i know, you should always specify relative urls when using request
              > dispatchers
              >
              > eg
              >
              > if the entire url is
              > http://myserver/theurl
              > you would code as follows
              >
              > RequestDispatcher dispatcher =
              > getServletConfig().getServletContext().getRequestDispatcher("/theurl");
              > dispatcher.forward(request, response);
              >
              > You definitely should not use complete URLs when calling
              > getRequestDispatcher()
              >
              > what happens on the server that returns a null dispatcher if you manually
              > type the address into the browser? Does weblogic find the resource? If not
              > then you have something specified differently in your server that doesn
              > work.
              >
              >
              > "RUMPA GIRI" <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > > The forward code we have is like
              > > /**********************************************/
              > >
              > > public void forward(String url, HttpServletRequest request,
              > > HttpServletResponse response)
              > > throws ServletException, IOException
              > > {
              > > RequestDispatcher dispatcher =
              > getServletConfig().getServletContext().getRequestDispatcher(url);
              > > dispatcher.forward(request, response);
              > > }
              > > /***********************************************/
              > >
              > > My question is:
              > > As per the documents
              > > The pathname must begin with a "/" and is interpreted as relative to the
              > current
              > > context root.
              > > if my URL is "http://www.abcz.com/<somepage>
              > > request dispatcher is null? and on one server (say A) that is a problem
              > but other
              > > server(say B) when given the full URL behaves ok.
              > > on server A I am getting a null pointer exception , which on tracing
              > happens to
              > > be the request dispatcher is null.(If http://www.abcz.com/<somepage> is
              > URL) but
              > > no null pointer exception if url is "/<somepage>"
              > > On B its behaving fine when given the "http://www.abcz.com/<somepage> " as
              > URL
              > > to the method.
              > > Both server A and B are running wl6. Is the difference in service pack
              > cause of
              > > the problem?
              > >
              > > Internally does wl6 parses the URL to find a relative URL?
              > >
              > > Any help will be greatly appreciated.
              > > Thanks
              > > Rumpa
              > >
              > >
              

  • Can Request Dispatcher include 2 Jsp's ??

    HI ...
    can Request Dispatcher include 2 Jsp's.....in which
    second Jsp is accessing some parameters from First Jsp....
    From my point of view , both jsp's are get compiled seperately hence
    2nd Jsp is not getting parameters from 1st Jsp..
    Any other way to solve this problem....???
    rdTop = sc.getRequestDispatcher("/Reports/top.jsp");
    rdTop.include(req,res);
    rd1 = sc.getRequestDispatcher("/Reports/MenuTrail.jsp");
    rd1.include(req,res);
    Thanks

    No Actually ,i am using include becoz Top .jsp includes our menu,& menu trail also contains our menu...i am displaying both Jsp's thru
    servlet hence i have used Include.....
    Thanks

  • Query Strings in Request Dispatcher Paths (PLT.16.1.1)

    I'm having trouble using query strings in a request dispatcher include to a servlet.
    I'm spitting debug out, and it looks like I'm calling:
    PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher("/myServlet?myparam=myparamValue");
    And myparam isn't being set for myServlet.
    The same URL ("http://myhost:myport/myPortal/myServlet?mayparam=mayparamValue)
    runs fine standalone....

    I'm not sure of the exact dates (either this month or the next). But
    JSR168 will be supported in the service pack.
    Subbu
    T-Bone said the following on 11/18/2003 09:23 AM:
    Subbu Allamaraju <[email protected]> wrote:
    There is a known bug in WLS's servlet container that results in this
    behavior. Please contact support if you need an expedited solution.Thanks, they said to wait for SP2 sometime end of November.
    Can you tell me when it will be available?
    Also, when will JSR-168 v1.0 be supported?
    Subbu
    T-Bone said the following on 10/26/2003 03:14 PM:
    I'm having trouble using query strings in a request dispatcher includeto a servlet.
    I'm spitting debug out, and it looks like I'm calling:
    PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher("/myServlet?myparam=myparamValue");
    And myparam isn't being set for myServlet.
    The same URL ("http://myhost:myport/myPortal/myServlet?mayparam=mayparamValue)
    runs fine standalone....

  • Nested request dispatches when using RequestDispatcher in a Button action

    Hi all,
    I am new to JSF so I am probably missing something very simple, please help:
    The test case is simple: I created one visual web page with one button and one normal JSP file(named test.jsp) using Netbeans 5.5 with visual web pack on Sun Application Server 9 PE. The code action for the button is as follows:
    public String button1_action() throws Exception
            ExternalContext context = FacesContext.getCurrentInstance().getExternalContext();
            HttpServletRequest request = (HttpServletRequest) context.getRequest();
            HttpServletResponse response = (HttpServletResponse) context.getResponse();
            RequestDispatcher dispatcher = request.getRequestDispatcher("test.jsp");
            dispatcher.forward(request,response);
            return null;
        }Once the JSF page is loaded and the button is clicked, this exception occurs:
    ApplicationDispatcher[WebApplication1] Servlet.service() for servlet Faces Servlet threw exception
    javax.servlet.ServletException: WEB2651: Exceeded maximum depth for nested request dispatches: 20
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:837)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:532)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:465)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
    at webapplication1.Page1.button1_action(Page1.java:242)
    Can anyone provide any advice on how to resolve this issue?

    Hi Rachel,
    As per the Servlet2.3 Javadoc:
    The pathname must begin with a "/" and is interpreted as relative to the current context root.
    If you make that change and include the complete path, then it would work fine.
    Ex:
    If your context looks like http://my.company.com/webapp1/ and if you were to have your forwardPortlet.jsp in a directory like:
    webapp1
      |
      |-> htdocs
             |
             |-> forwardPortlet.jsp
    then, your code would look like;
    RequestDiscpatcher d = request.getRequestDispatcher("/htdocs/forwardPortlet.jsp");
    HTH,
    thanks,
    harsha

  • Unable to use Request Dispatcher; Duke $ Post;

    I am using a Controller Servlet to transfer control to a JSP using Request Dispatcher within doPost()
    RequestDispatcher rd;
    rd=req.getRequestDispatcher(URL);
    rd.forward(req,resp);
    I am seting a request object
    req.setAttribute("XXX",obj.func());
    prior to the Redirect;
    The page gets redirected to a JSP. I am unable to access req object in there.
    if i use
    String XXX = req.getAttribute("XXX");
    i get an error in the jsp as
    "req cannot be resolved"
    Do i need to import some directives? Please Reply

    The page gets redirected to a JSP. I am unable to
    access req object in there.
    if i use
    String XXX = req.getAttribute("XXX");
    i get an error in the jsp as
    "req cannot be resolved"
    Do i need to import some directives? Please ReplyThat's simple. Your req (which is the HttpServletRequest object) in the servlet becomes request in the JSP. That's always there. The compiler would not recognize req
    Use request.getAttribute("XXX"); in JSP
    Regards
    ***Annie***

  • Request dispatcher between 2 servers

    dear sear:
    can i use request dispatcher to go from one servers to another whith the same session.
    thanks,
    hamdi.

    Nope, Request dispatcher works with in its servlet container.
    May be you can you Request.sendRedirect()..
    not sure.

  • Passing Attribute in Request Dispatcher

    Hi,
    I am using servlet#1 to pass the value of an Attribute to servlet#2
    servlet #1 code
    ServletContext sc = getServletContext();
    request.setAttribute("name",value);
    RequestDispatcher rd = sc.getRequestDispatcher(url);
    rd.forward(request, response);
    servlet #2 code
    ServletContext sc = getServletContext();
    String string = (String) sc.getAttribute("name");
    when I run servlet #1 request dispatcher forwards request and response to servlet #2 but the Attribute value is not passed along
    what am I missing ?
    thanks VERY much for your response in advance and past responses !!
    Rick

    Hi rickdd,
    In servlet #2 you should get the value from
    servlet's Request object rather than ServletContext,
    because parameter is set with Request Object not with
    ServletContext.
    So modifiy the code as given below...
         /* Parameter is passed with servlet's Request Object.
          * So Next line needs to be commented.
         //ServletContext sc = getServletContext();
         //Here get the value from servlet's Request Object
         String string = request.getAttribute("name");
       This will work.
    Regards
    Goodieguy

  • Request dispatcher method--help needs

    Hi,
    I used request dispatcher method to redirect the from one servlet to another servlet.But when i use get method it is functioning well.
    But when i use post method it is giving error...
    I need to use post method...
    How can it possible..
    Thanks,
    Babu B

    you have code for request.RequestDispatcher.forward(""); method in both doPost and
    doGet methods for the servlet. However your initial form is not set with method
    to POST.
    By default the method is GET and it will execute code in doGet and not code in
    doPost() method. so in your first form use method as POST instead of keeping
    it to default i.e no method specified.
    let me know where are you using RequestDispatcher.
    //rohit

  • Request dispatcher vs redirect

    if there is the request dispatcher already,
              then what exactly is the point of having response.sendRedirect(url)
              is there any situation in which one should use sendRedirect over using the
              request dispatcher?
              thanks
              -Tao
              Tao Ge
              Software Engineer
              [email protected]
              (310) 883-1837
              NextEngine, Inc.
              401 Wilshire Blvd., Ninth Floor
              Santa Monica, California 90401
              This email is intended only for the use of the individual or entity to which
              it is addressed and contains information that is privileged and
              confidential. If the reader of this message is not the intended recipient
              or the employee or agent responsible for delivering the message to the
              intended recipient, you are hereby notified that any review, use, disclosure
              or distribution of this communication is strictly prohibited. If you have
              received this communication in error, please notify the sender immediately
              by reply email and destroy all copies of the original message.
              Thank you.
              

              1. You cannot forward to a file thats not this server. But you can use
              sendRedirect
              2. By using sendRedirect you are also informing browser regarding change of the
              location.
              3. When you post data to server and use of browser relaod posts data back to
              server in case of dispatcher.
              Thanks,
              Kumar.
              "Tao Y. Ge" wrote:
              > if there is the request dispatcher already,
              > then what exactly is the point of having response.sendRedirect(url)
              >
              > is there any situation in which one should use sendRedirect over using the
              > request dispatcher?
              >
              > thanks
              >
              > -Tao
              >
              > --
              >
              > Tao Ge
              > Software Engineer
              > [email protected]
              > (310) 883-1837
              >
              > NextEngine, Inc.
              > 401 Wilshire Blvd., Ninth Floor
              > Santa Monica, California 90401
              >
              > ---
              > This email is intended only for the use of the individual or entity to which
              > it is addressed and contains information that is privileged and
              > confidential. If the reader of this message is not the intended recipient
              > or the employee or agent responsible for delivering the message to the
              > intended recipient, you are hereby notified that any review, use, disclosure
              > or distribution of this communication is strictly prohibited. If you have
              > received this communication in error, please notify the sender immediately
              > by reply email and destroy all copies of the original message.
              > Thank you.
              

  • Problem with using Request dispatcher in my login,jspx

    Hi
    I am using Jdev 11g and new to adf.
    I am trying to work with adf security.
    I designed a login.jspx page and loginproxy.jspx accoridng to the following link
    http://groundside.com/blog/DuncanMills.php?title=j2ee_security_a_jsf_based_login_form&more=1&c=1&tb=1&pb=1
    I have added this code in login.java
         ExternalContext ectx =    FacesContext.getCurrentInstance().getExternalContext();
         HttpServletRequest request =    (HttpServletRequest)ectx.getRequest();
         HttpServletResponse response =    (HttpServletResponse)ectx.getResponse();
         RequestDispatcher dispatcher =   request.getRequestDispatcher("loginnew.jspx");
    RequestDispatcher dispatcher =   request.getRequestDispatcher("j_security_check");
        request.setAttribute("j_username", username);
        request.setAttribute("j_password", password);
         dispatcher.forward(request,response);
    When it tries to execute dispatch statement, it goes in an infinite loop and finally gets me a stack overflow error and also in the cosole it prints series of exceptions like
    ActionListenerImpl><processAction> javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class oracle.adf.controller.ControllerException
    javax.faces.el.EvaluationException: javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class oracle.adf.controller.ControllerExceptionI have to validate the user against database hence i created a login.jspx with a backing bean so that i can access the username and password and validate the credentials against db and redirect user to the appropriate page.
    The functionality i want to implement is very simple but i just cant get it to work using adf security.
    any help is highly appreciated.
    thanks
    at

    Hi Pedja,
    Thanks for the prompt reply.
    I have been following the link you mentioned to create ADF security and successfully implementedthe first part where if i directly give any internal page url it redirects me back to login page.
    Instead of using weblogic-sql authenticator, i wanted to manually authenticate the user in loginbean.java where i check the username passowrd against the db.
    I had also implemented the method to access username,password mentioned in the following thread
    Re: ADF security on my jspx  page as login page
    Insted of using authentication.login, i am calling the db method to do the validation.
    The thing is after my db validation it does redirect me to the success page(menu.jspx). but when i click links on menu.jspx it redirects me back to login page.
    so i understand that user is not yet set in the session.
    I am stuck at the point how do i code the login.jspx, currently my login.jspx does not have any j_security_check and i think this is what is creating the problem.
    while searching for adding jsecurity in jspx i landed on the blog of 2006 and started using that.
    Can you please point me to some link which explains how to code login.jspx , i have been trying hard for couple of days.
    Thanks again
    ash

  • Dispatche problem

    Hi
    I have ECC6 IDES version was working fine last 3 months . i have just added two profiles in RZ10
    login/accept_sso2_ticket = 1
    login/create_sso2_ticket = 2
    it was not reflecting on so i thought i will restart server so i did it. since then my server is always in yellow state. my Abap , J2ee table are blank and i monitored couple of time when i start server first all table start in RUN state then Ended and disappears then dispatcher goes stopped.
    Things i did to resolve this but didn't work
    1) tryed to revert back old profiles in OS level
    2) Increases j2ee time out ( 600 to 6000)
    3) started data base at command level using connect/@ PIS as sydba and the mounted database and then started management consol but still same problem continues.
    Can some one help me quickly ...
    trc file: "dev_w0", trc level: 1, release: "700"

    M Tue Sep 25 11:14:07 2012
    M  calling db_connect ...
    C  Prepending D:\usr\sap\PIS\DVEBMGS40\exe to Path.
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@PIS on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 00000000130F28C0 000000000A7B33C0 000000000A7B8BE8
    C  Attaching to DB Server PIS (con_hdl=0,svchp=000000000A7B8AA8,svrhp=0000000013111918)
    C  Starting user session (con_hdl=0,svchp=000000000A7B8AA8,srvhp=0000000013111918,usrhp=000000000A7B3BD8)
    C  Now '/@PIS' is connected (con_hdl 0, nls_hdl 0).
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=000000000A7B8AA8,usrhp=000000000A7B3BD8)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@PIS on connection 0 (nls_hdl 0) ... (dbsl 700 240106)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1 00000000130F28C0 000000000A7B33C0 000000000A7B8BE8
    C  Starting user session (con_hdl=0,svchp=000000000A7B8AA8,srvhp=0000000013111918,usrhp=000000000A7B3BD8)
    C  Now 'SAPSR3/<pwd>@PIS' is connected (con_hdl 0, nls_hdl 0).
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  Database instance PIS is running on DEVSYS with ORACLE version 10.2.0.1.0 since 20120924
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20120925 111407 DEVSYS         
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0000000014E30050, size: 4400000)
    M  SHM_ROLL_AREA          (addr: 000007FFE6D00050, size: 268435456)
    M  SHM_PAGING_AREA          (addr: 0000000015270050, size: 134217728)
    M  SHM_ROLL_ADM               (addr: 000000001D280050, size: 2678942)
    M  SHM_PAGING_ADM          (addr: 000000001D510050, size: 525344)
    M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 000000001D5A0050
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 12176 bytes (50 server) at 000000000FFD0050
    X  EmInit: MmSetImplementation( 2 ).
    X  MM diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 13, CON_ID = -1

    B Tue Sep 25 11:14:08 2012
    B  dbtbxbuf: Buffer TABL  (addr: 0000000022E40160, size: 30000000, end: 0000000024ADC4E0)
    B  dbtbxbuf: Profile: max_objects = 5000, displace = 1, reorg = 1
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
    B  dbtbxbuf: protect_shm = 0, force_checks = 0
    B  dbtbxbuf: tsize_retry = 14206976
    B  ***LOG BB0=> buffer TABL       started with length 30000000   bytes [dbtbxbuf#2 @ 16178] [dbtbxbuf1617 8]
    B  dbtbxbuf: Buffer TABLP (addr: 0000000024AE0160, size: 10240000, end: 00000000254A4160)
    B  dbtbxbuf: Profile: max_objects = 500, displace = 1, reorg = 1
    B  dbtbxbuf: request_unit = 2000, sync_reload = 5, inval_reload = 5
    B  dbtbxbuf: protect_shm = 0, force_checks = 0
    B  dbtbxbuf: tsize_retry = 5032704
    B  ***LOG BB0=> buffer TABLP      started with length 10240000   bytes [dbtbxbuf#2 @ 16178] [dbtbxbuf1617 8]
    B  dbtbxbuf: Reading TBX statistics:
    B  dbtbxbuf: 0 object entries precreated
    B  Layout of EIBUF buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 400 = 400
    B  2: 13 * 40 = 520
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 256 = 512000
    B  5: 4001 * 8 = 32008
    B  6: 1 * 200 = 200
    B  7: 65 * 8 = 520
    B  8: 13502 * 256 = 3456512
    B  Tracing = 0, Shm Protection = 0, Force checks = 0
    B  dbexpbuf: Buffer EIBUF (addr: 00000000254B0170, size: 4194304, end: 00000000258B0170)
    B  ***LOG BB0=> buffer EIBUF      started with length 4096k      bytes [dbexpbuf#1 @ 2322] [dbexpbuf2322 ]
    B  Layout of ESM   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 400 = 400
    B  2: 13 * 40 = 520
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 256 = 512000
    B  5: 4001 * 8 = 32008
    B  6: 1 * 200 = 200
    B  7: 65 * 8 = 520
    B  8: 13502 * 256 = 3456512
    B  Tracing = 0, Shm Protection = 0, Force checks = 0
    B  dbexpbuf: Buffer ESM   (addr: 00000000258C0170, size: 4194304, end: 0000000025CC0170)
    B  ***LOG BB0=> buffer ESM        started with length 4096k      bytes [dbexpbuf#1 @ 2322] [dbexpbuf2322 ]
    B  Layout of CUA   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 400 = 400
    B  2: 13 * 40 = 520
    B  3: 3001 * 48 = 144048
    B  4: 1500 * 256 = 384000
    B  5: 3001 * 8 = 24008
    B  6: 1 * 200 = 200
    B  7: 193 * 8 = 1544
    B  8: 4916 * 512 = 2516992
    B  Tracing = 0, Shm Protection = 0, Force checks = 0
    B  dbexpbuf: Buffer CUA   (addr: 0000000025CD0170, size: 3072000, end: 0000000025FBE170)
    B  ***LOG BB0=> buffer CUA        started with length 3000k      bytes [dbexpbuf#1 @ 2322] [dbexpbuf2322 ]
    B  Layout of OTR   buffer shared memory:
    B  0: 1 * 4 = 4
    B  1: 1 * 400 = 400
    B  2: 13 * 40 = 520
    B  3: 4001 * 48 = 192048
    B  4: 2000 * 256 = 512000
    B  5: 4001 * 8 = 32008
    B  6: 1 * 200 = 200
    B  7: 81 * 8 = 648
    B  8: 13501 * 256 = 3456256
    B  Tracing = 0, Shm Protection = 0, Force checks = 0
    B  dbexpbuf: Buffer OTR   (addr: 0000000025FC0170, size: 4194304, end: 00000000263C0170)
    B  ***LOG BB0=> buffer OTR        started with length 4096k      bytes [dbexpbuf#1 @ 2322] [dbexpbuf2322 ]
    B  ***LOG BB0=> buffer CALE       started with length 500000     bytes [dbcalbuf#1 @ 2206] [dbcalbuf2206 ]
    B  dbtran INFO (init_connection '<DEFAULT>' [ORACLE:700.08]):
    B   max_blocking_factor =  15,  max_in_blocking_factor      =   5,
    B   min_blocking_factor =  10,  min_in_blocking_factor      =   5,
    B   prefer_union_all    =   0,  prefer_join                 =   0,
    B   prefer_fix_blocking =   0,  prefer_in_itab_opt          =   1,
    B   convert AVG         =   0,  alias table FUPD            =   0,
    B   escape_as_literal   =   1,  opt GE LE to BETWEEN        =   0,
    B   select *            =0x0f,  character encoding          = STD / <none>:-,
    B   use_hints           = abap->1, dbif->0x1, upto->2147483647, rule_in->0,
    B                         rule_fae->0, concat_fae->0, concat_fae_or->0
    M  SecAudit(RsauInit): Start init of Security Audit Log for first wp.
    M  SecAudit(RsauCreateShm): New block for Security Audit Log allocated in SCSA
    M  SecAudit(RsauCreateShm): SCSA memory usage: SecAudit = 1160, total = 3064
    M  SecAudit(RsauShmInit): SCSA size................ = 4096
    M  SecAudit(RsauShmInit): addr of SCSA............. = 000000000AAF0050
    M  SecAudit(RsauShmInit): addr of RSAUSHM.......... = 000000000AAF07C0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO..... = 000000000AAF0800
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS........ = 000000000AAF080C
    M  SecAudit(RsauShmInit): SHM version.............. = 5
    M  SecAudit(RsauShmInit): SHM Slot version......... = 2
    M  SecAudit(RsauShmInit): RSAU active.............. = 0
    M  SecAudit(RsauShmInit): number of slots possible. = 10
    M  SecAudit(RsauShmInit): number of slots requested = 2
    M  SecAudit(RsauShmInit): number of slots used..... = 2
    M  SecAudit(RsauShmInit): user selection........... = 0
    M  SecAudit(RsauShmInit): max size of one file..... = 0 KB
    M  SecAudit(RsauShmInit): max size of all files.... = 102400 KB
    M  SecAudit(RsauGetCurrentProfile): Init of shared memory completed
    M  SecAudit(RsauGetCurrentProfile): Security Audit Log not active
    M  SsfSapSecin: automatic application server initialization for SAPSECULIB
    N  SsfSapSecin: Looking for PSE in database
    N  SsfPseLoad: started...(path=D:\usr\sap\PIS\DVEBMGS40\sec, AS=devsys, instanceid=40)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec (client:    , key: 102635, len: 14851)
    N  SsfPseLoadFile: Couldn't open file D:\usr\sap\PIS\DVEBMGS40\sec: Permission denied
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPELEARN200.pse (client:    , key: 172011, len: 1348)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPSNCS.pse (client:    , key: 025318, len: 804)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPSSLA.pse (client:    , key: 025401, len: 2838)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPSSLC.pse (client:    , key: 025427, len: 3080)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPSSLS.pse (client:    , key: 025344, len: 1465)
    N  SsfPseLoad: Downloading file D:\usr\sap\PIS\DVEBMGS40\sec\SAPSYS.pse (client:    , key: SYSPSE, len: 14851)
    N  SsfPseLoad: ended (6 of 7 sucessfully loaded, 8 checked...
    N  MskiCreateLogonTicketCache: Logon Ticket cache created in shared memory.
    N  MskiCreateLogonTicketCache: Logon Ticket cache pointer registered in shared memory.
    M  rdisp/reinitialize_code_page -> 0
    M  icm/accept_remote_trace_level -> 0
    M  rdisp/no_hooks_for_sqlbreak -> 0
    N  SncInit(): Initializing Secure Network Communication (SNC)
    N        PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 16/64/64)
    N  SncInit():   found snc/data_protection/max=3, using 3 (Privacy Level)
    N  SncInit():   found snc/data_protection/min=2, using 2 (Integrity Level)
    N  SncInit():   found snc/data_protection/use=9, using 3 (Privacy Level)
    N  SncInit(): found  snc/gssapi_lib=path_to_SAPCRYPTOLIB
    M  *** ERROR => DlLoadLib: LoadLibrary(path_to_SAPCRYPTOLIB) Error 126 [dlnt.c       237]
    M          Error 126 = "The specified module could not be found."
    N  *** ERROR => SncPDLInit(): DlLoadLib("path_to_SAPCRYPTOLIB")=DLENOACCESS
    N   [sncxxdl.0340]*** ERROR => SncPDLInit()==SNCERR_INIT, Adapter (#0) path_to_SAPCRYPTOLIB not loaded
    N   [sncxxdl.0604]<<- SncInit()==SNCERR_INIT
    N           sec_avail = "false"
    M  ***LOG R19=> ThSncInit, SncInitU ( SNC-000001) [thxxsnc.c    230]
    M  *** ERROR => ThSncInit: SncInitU (SNCERR_INIT) [thxxsnc.c    232]
    M  in_ThErrHandle: 1
    M  *** ERROR => SncInitU (step 1, th_errno 44, action 3, level 1) [thxxhead.c   10019]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1
    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 1680) [dpnttool.c   327]
    Regards
    Babu

    Problem solve by taking out SNC profile

  • Request.getParameter problem

    Did any one faced the problem please provide me a solution I am converting a project to WebSphere. using J2EE jsp 1.1 from NAS,jsp 0.92
    I have a jsp page and I am submitting the form:
    Test.jsp
    <body>
    <form name="frm" method="post" action="TestServlet">
    <INPUT type="CHECKBOX" name="CKBXVCH23" value="A" checked>A
    <INPUT type="CHECKBOX" name="CKBXVCH23" value="B" checked>B
    <INPUT type="CHECKBOX" name="CKBXVCH23" value="C" checked>C
    </form>
    </body>
    TestServlet:
    when i do String str=request.getParameter("CKBXVCH23")
    I am getting only str="A"
    It suppose to give str=A;B;C because I have selected all the three items Its working fine in iPlanet, jsp 0.92
    can anyone know whats the diffenrece.???
    Thanks
    zakir hussain

    If you change the post to a get so you can see what is passed to the servlet you'll see the following parameters are passed:
    CKBXVCH23=A&CKBXVCH23=B&CKBXVCH23=C
    You need to use the
    public java.lang.String[] getParameterValues(java.lang.String name)
    mehod to get an array of all the values associated with "CKBXVCH23"

  • Data request deletion problem from remote system.

    Hi experts.
    Now i am facing one critical problem . The description is as following:
    we design the edw level in one phsical BW machine(A) which contains only dso infoprovider. This machine(A) works as datasource to provide data to another physical BW machine(B).
    The dso in A system is exported as datasource , Cubes in B system load data through this datasource .
    We first do the initialization with data contained on B system and then load delta data from A system. But if we want to delete some request in system A ,the system indicate this request can not be deleted unless the initialization in system B is deleted( this will lead to all the data missing in system B).
    Can anyone explain this mechanism to me , please help me suggesting some kind of methods to delete the request in system A without deleting the initialization information in system B.
    Thanks in advance.
    Waiting online for your kindly reply.

    1. Ask your Basis to look into it.
    2. try analyse your Baqckground Process in SM51.
    3. Is your Deletion Job started immediately or any Delay?
    4. If That cube or ODS has only this request which you are deleting, go with Context Menu Cube or ODS (by right click) --> Delete Contents.
    Delete Contents will improve performence compare to Request Deletion..
    If you have request more than this, you should not go for this.
    Nagesh Ganisetti.
    Assign points if it helps.

Maybe you are looking for