User credential not maintained in weblogic7.0 sp2

Hi,
I am using JAAS framework for authenticating user in my application. I have client-side
as well as server side authentication that need to be done. For both these things
i am using the same authentication class. My application is working fine in weblogic7.0
sp1 and i recently installed weblogic7.0 sp2 and ran my application. Now all the
client-side authentication happens fine but during server-side(i.e. server classes
calling my authenticate method) authentication, the weblogic.sercurity.Security.getCurrentSubject()
is returning subject with principalSet as null. In my authentication, in the commit()
i set the principals in the subject. I want to know is it problem with my setting
or is there any change in sp2. But as far as settings are concerned, its the same
in sp1 & sp2 as well in the server & client side.
Also in the sp2 classpath theres an entry for weblogic_sp.jar but no such jar
is available in the WL_HOME\server\lib\. would this be cause of this problem.
Thanks & Regards,
Sandhya

"Sandhya " <[email protected]> wrote in message
news:[email protected]..
>
"Peter" <PeterB> wrote:
"Sandhya " <[email protected]> wrote in message
news:3f5ecc14$[email protected]..
Hi,
I am using JAAS framework for authenticating user in my application.I
have client-side
as well as server side authentication that need to be done. For boththese
things
i am using the same authentication class. My application is workingfine
in weblogic7.0
sp1 and i recently installed weblogic7.0 sp2 and ran my application.Now
all the
client-side authentication happens fine but during server-side(i.e.server
classes
calling my authenticate method) authentication, theweblogic.sercurity.Security.getCurrentSubject()
is returning subject with principalSet as null. In my authentication,in
the commit()
i set the principals in the subject. I want to know is it problem withmy
setting
or is there any change in sp2. But as far as settings are concerned,its
the same
in sp1 & sp2 as well in the server & client side.Where are you calling the getCuirrentSubject(). Can you provide a stack
trace?The getCurrentSubject() is called after authentication is done and user iscommited,
like after authentication is over and the subject is returned, i amcalling server
class's method for processing. Inside that method i am usinggetCurrentSubject().
>
>
It actually doesnot give any exception as such. The code looks like:
subject = weblogic.security.Security.getCurrentSubject();
principalSet=subject.getPrincipalSet();What is the call stack of the code calling this method?

Similar Messages

  • Active substitute maintained for a user is not getting workitems for approv

    Hi,
    Active substitute maintained for a user is not getting workitems for approval.Earlier he was getting
    but now a days he is not getting.
    Roles wise also , i checked, it is proper.
    Please advise me on this.
    Regards,
    Niti

    Hi Check Table HRUS_D2 for the user id and cross check it with the users pa record and IT 105.
    Also check the email address maintained in su01. And further you can check with the org attrib forward??? is maintained.
    I hope this helps.
    Saj

  • IPhone "FIOS remote" app update caused 'Invalid User Credential'

    Hey there,
    I recently updated my "FIOS remote" app on my iPhone and started getting 'Invalid User Credential' when checking my DVR in the app or the TV listings, also wasnt able to submit feedback.
    TheAbout screen says I'm using "Verizon FIOS mobile remote version 3.1.56 build number 16"
    I called Verizon support who helped me.
    The fix:  Open a browser and go to www.verizon.com/fiostv/web and logon. 
    Feedback in the app still doesn't work so I thought I'd post this here for others.  By the way, I think a 100 character limit is too small for feedback.
    Kevin

    LawrenceH wrote:
    I have been trying to get the FiOS Remote app to work, but it keeps giving me problems with the sign on.  I don't think my sign on is the issue.
    My signon works for ...
    1. My FiOS app - in which I can pull my account information
    2. the Verizon mobile website - in which I can login and see all my information
    Within the My FiOS app when I try to manage my DVR, it launches the FiOS remote app.  This app won't let me sign in.  I constantly get the "Sign In Error" User ID or Password is invalid.  Please try again."
    I know this error is erroneous because of my ability to login everywhere else.
    Please advise on what I can do next.
    Hi, I know that app requires that you are connected to the wifi in your home and not on the iphone's 3g.  If you have verified that you are on the Actiontec WiFI (not a second router's wifi) and that your login is correct at all those sites, then you might need to email the dev from the apple store.  It gives you a link to email them there.

  • Logon Error Message - Enterprise Services Builder address not maintained

    Hi Experts,
    I'm about to start the configuration on PI PROD (PI 7.1) server, but I keep encountering an error, saying "Service cannot be reached"
    Service cannot be reached
    What has happened?
    URL http://hostname:port/nwa call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system PIP with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If it is a valid URL, check whether service /nwa is active in transaction SICF.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:XXXXX_PIP_00-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team
    What's more weird is that I can't launch sxmb_ifr because 'Enterprise Services Builder address not maintained'.
    I already made some RFC Destination such as AI_DIRECTORY_JCOSERVER, AI_RUNTIME_JCOSERVER, LCRSAPRFC, and SAPSLDAPI and when I test the connection, here's the error message said 'Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67'
    Thanks for the reply.

    Hello,
    Check if you have more than one system. If so, check whether host, port and URL of startpage are maintained on the correct one.
    Also, please follow the MANUAL steps of the SAP Help link below:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/40084136b5f423e10000000a155106/content.htm
    Ensure you have created the RFC Destinations in the ABAP and Java Environment
    You need to create the following RFC destinations in transaction SM59
    (ABAP) and the Visual Administrator (Java):
    AI_RUNTIME_JCOSERVER
    AI_DIRECTORY_JCOSERVER
    LCRSAPRFC
    SAPSLDAPI
    Last, please check whether, In tcode SM59, the destination INTEGRATION_DIRECTORY_HMI.
    The user maintained in the Logon tab should be PIISUSER
    and ensure he password is correct,and check if the destination will test successfully.
    All of those will solve this issue
    Regards,
    Caio Cagnani

  • Restrict the user should not allow to select No Excise entry tab in MIGO

    Hi
    how to restrict the user should not allow to select No Excise entry tab in MIGO
    if the material Excisable user can bale to select the No Excise entry tab in MIGO . my requirement .... if the Pop come Please enter Excise Invoice number and Excise Invoice Date user should not change the No Excise how to restrict pls advise me
    @sakhi

    These are the options provided by SAP keeping in mind Indian Scenario. Sometimes, vendor forget to send excise invoice copy with the material, in such case, you can select 'Only Part I'.
    Even if you have maintain vendor excise details & material excise details (By mistake) in J1ID, system will throw an error message, excise invoice value is zero. In such case, we can select option 'No excise entry'.
    Your requirement can't be fulfilled in standard way. Even if you go for any Z- developement, you will lose the option.

  • Profit Center was not maintained during order n billing creation.

    Dear, Gurus
    I'm facing a problem of Profit Center. User created a service material, maintenance contract. They created a Billing Document as it is order related billing. Accounting document was not generated when saving invoice. When I got to the bottom of this I realized no costing tabs were ever maintained for material type services. (Henceforth no Profit Center in Sales Order n Invoice).
    I have done the necessary config n assignments but question now is what should I do as in billing doc  the field is greyed out it will not allow me to assign Pr Center now. I am thinking that this may work if I cancel the billing document and then go back to sales order and try and changing the field, then re-create the invoice. I'm trying to avoid canceling. Is there any program, bapi, user exit I may use to re assign or make system re check the MM while saving invoice to allow accounting document to be created?  This is one scenario.
    2nd scenario is similar but in the case of this contract everything was made. Accounting document was cleared even but with some dummy weird Profit Center. (No proft center in Order nor invoice.) Whole problem at first in this scenario is User saying everything is complete so status in doc flow should show maintenance contract as complete but wasn't. it showed being processed. I discovered no completion rule was maintained. I maintained E Full target value referenced but status still has not changed any idea guys? (New config not showing on old existing data only show on new document, concept?) Is there a program or anything to make system update status doc flow? aside from this Profit center  incompletion log is coming in Contract. Not maintained in order or invoice.

    In one of my earlier projects, a similar requirement was putforth by users and we had developed a zee tcode to change the profit center in billing document via SM30 which can be done only by FI authorised users.
    I am reproducing the said program as under:-
    REPORT  "ZPROFIT_CHG"
    TABLES : VBRP.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS : SO_VBELN FOR VBRP-VBELN OBLIGATORY.
    PARAMETERS:      P_PRO LIKE VBRP-PRCTR OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF IT_VBRP OCCURS 0,
            VBELN LIKE VBRP-VBELN,
            POSNR LIKE VBRP-POSNR,
            PRCTR LIKE VBRP-PRCTR,
          END OF IT_VBRP.
    DATA COUNT(3).
    DATA W_MESSAGE(30).
    START-OF-SELECTION.
      LOOP AT SO_VBELN.
           IF SO_VBELN-LOW CA '~`!@#$%^&*()_+|\=-><,.;":' OR SO_VBELN-HIGH CA '~`!@#$%^&*()_+|\=-><,.;":'.
               MESSAGE 'Special character not allowed' type 'S'.
               LEAVE LIST-PROCESSING.
               STOP.
           ENDIF.
      ENDLOOP.
      IF P_PRO CA '~`!@#$%^&*()_+|\=-><,.;":'.
               MESSAGE 'Special character not allowed' type 'S'.
               LEAVE LIST-PROCESSING.
               STOP.
      ENDIF.
      SELECT B~VBELN B~POSNR B~PRCTR FROM VBRK AS A  INNER JOIN VBRP AS B ON A~VBELN EQ B~VBELN INTO CORRESPONDING FIELDS OF TABLE IT_VBRP
                                WHERE A~VBELN IN SO_VBELN
                                AND   A~FKART EQ 'ZFF2'
                                AND   A~FKSTO NE 'X'.
      IF SY-DBCNT EQ 0.
          MESSAGE 'NO DATA FOUND' TYPE 'S'.
          LEAVE LIST-PROCESSING.
      ENDIF.
      SORT IT_VBRP BY VBELN.
      DELETE ADJACENT DUPLICATES FROM IT_VBRP COMPARING VBELN.
      CLEAR COUNT.
      IF IT_VBRP[] IS NOT INITIAL AND P_PRO IS NOT INITIAL..
          LOOP AT IT_VBRP.
              UPDATE VBRP SET PRCTR = P_PRO  WHERE VBELN = IT_VBRP-VBELN AND POSNR = IT_VBRP-POSNR.
              IF SY-SUBRC = 0.
                 COUNT = COUNT + 1.
              ENDIF.
              COMMIT WORK.
              CLEAR IT_VBRP.
          ENDLOOP.
    ENDIF.
    IF COUNT IS NOT INITIAL.
        CONCATENATE 'No Of Records Updated Is - ' COUNT INTO W_MESSAGE.
        MESSAGE I000(ZSFL) WITH W_MESSAGE.
    ELSE.
        MESSAGE 'No Records Updated' TYPE 'S'.
    ENDIF.
    Since I am so weak in ABAP coding, not sure whether the above coding is correct.  You need to check with your ABAPers and develop this logic.  This should work.
    thanks
    G. Lakshmipathi

  • Hr_maintain_masterdata showing an infotype that the user does not have auth

    subject: hr_maintain_masterdata showing an infotype that the user does not have authorisation for
    Hi all,
    I've a user account that's meant to perform staffing, based on the actual HR role.  The system is also set up with an infogroup that contains infotypes 0000, 0001, 0006, 0185, XYZ and other infotypes; XYZ representing an actual infotype.  The HR role is not supposed to have this infotype XYZ.
    When PA40 is used, infotype XYZ will be skipped, as the user account do not have authorisation for it.  I could then proceed to create the record.
    When the fm: hr_maintain_masterdata is used, I was prompted that I do not have authorisation for infotype XYZ.
    I have setup my fm with the mininum amount of values, as indicated below.
    I did not populate a table for "proposed_values" so the infotypes called were due to the actions of the infogroup.
    fm: hr_maintain_masterdata
    pernr = 01234567
    massn = 01          (new staff)
    actio = INS          (insert record)
    tclas = A          (master record)
    begda = 01.09.2010
    endda = 31.12.9999
    werks = myCompanyPlant
    dialog_mode = 2     (online)
    luw_mode = 1          (commit, if no errors encountered)
    no_existance_check = X
    Q. Is there any way to let the function module call the infotypes, with authorisation checks, as what PA40 is doing?
    Your guidance would be appreciated.
    Thank you,
    James Wong

    A behaviour that has been observed was that, after infotype 0185 was saved, the function module throws me back to infotype 0000, citing, "No authorization to maintain XYZ exists".  Data that I had populated to the screen, either via the FM or by manual input were cleared.  If I skip the next 4 screens, I'll arrive at the Infotype after XYZ, with the data populated.  Subsequent infotypes also have their data filled in.
    Once I complete the sequence, the personnel record will be created.  Upon examination, the frist 4 screens that were skipped in the 2nd pass contains data that were entered in the 1st pass.
    My question, as posted in the original post, is why infotype XYZ is triggered by the function module, as the staffing account does not hae access for it.  If I repeat the process using PA40, the infotype is skipped accordingly.
    Any help would be appreciated.
    Thank you,
    James Wong,

  • Blocking vendor for PO creation if Accounting view is not maintained.

    Hi ALl,
    Is it possible to restrict RFQ or PO creation against vendor if accounting view is not maintained by account dept.
    I dont want to block it in MK06 or XK06 or in source list.
    Is there any user exit for this?
    Pls guide.
    Regards.
    Edited by: sapsarang on Aug 5, 2011 10:07 AM

    Hi,
    Use BAdi "ME_PROCESS_PO_CUST" and write the code under Interface "PROCESS_HEADER".
    Following is the sample code for the same.
    data t_lifnr type lfb1-lifnr.
    if w_lifnr is not initial and wa_hdr-bukrs is not initial.
    select single lifnr from lfb1 into t_lifnr where lifnr = w_lifnr
                                 and bukrs = wa_hdr-bukrs.
       if sy-subrc ne 0.
         MESSAGE e025(zm01) WITH w_lifnr wa_hdr-bukrs.
       endif.
    Here create a message as ZM01025 (In TCode SE91) as "Vendor has not been maintained for Co. Code &."

  • User does not exist in this period / ESS does not work anymore ;-(

    Hello experts,
    starting any ess application on portal side (leave request), I get the follwoing error code:
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: User TESTUSER does not exist in this period
    Starting application personal data I get the message: "There are no services in the area."
    I know, that this error has often been discussed in this forum. So I check the hints I found, but I could not solve my problem.
    The HR user TESTUSER is assigned to the portal user TESTUSER in IT0105 and the user is not exceeded.
    TESTUSER got SAP_ALL on HR side.
    The error appears for all users, that worked propably a few days before.
    Login on portal side and HR works. ESS overview is shown for TESTUSER. For a user that has not a login to HR system it does not appear. So the single singn on (SSO) between portal and HR system seems to work.
    The ESS applications worked fine until two days ago. Portal guys said, they had not done any changes on portal side.
    Where could the error occure on HR side? How can I recognize if any changes have been made on HR side?
    Thank you for your help.

    TX HRUSER seems not working.
    Using the function 'Set Up and Maintain ESS User (Overview)' in TX HRUSER with my test-PERNR it is shown under 'Employees with deleted users'.
    Clicking on it I got the Information:
    PERS.NO: 12345678 (i.e.) NAME: Test User FROM: 01.01.2011 TO: 31.12.9999 USER: Name:  FROM: TO: User does not exist.
    But in IT0105 the PERNR is assigned to user TESTUSER in that period.
    When I try to assign  PERNR to TESTUSER with TX HRUSER under 'Assign Employees to Existing Users' I read the follwing information:
    USER: TESTUSER Name: FROM: 01.01.2011 TO: 31.12.9999 USER GROUP: IT PERS.NO.: NAME: FROM: TO: no employee assigned.
    Trying to 'assign employees' I get the message 'Error occurred when creating relationship for user ESSUSER-B to employee'.
    Please create the appropriate assignment manually in HR master data.
    But I have assigned it manualy in IT 0105.
    Concurrent employment (CCURE PAUIX) is not activated.

  • The user does not have permission to perform the operation

    Hi,
    Configuration: JES Q405. Solaris 10 x86.
    My customer initially installed JES (Portal + AM + DS) on the same box.
    Now, they have a change in their requirement. They want DS to run dedicatedly in another box.
    I have successfully installed a fresh instance of DS in the new box with the same domain name (thus maintaining the same dn). I have copied over 99user.ldif and exported all the data from the original DS in the old box.
    Everything is running fine. DS in the new box is able to function properly.
    On the Portal and AM side, I have changed the following file:
    1. AMConfig.properties
    2. serverconfig.xml
    3. PSConfig.properties
    I have also changed the Primary LDAP entry in iPlanetAMAuthLDAPService, iPlanetAMAuthMembershipService, and iPlanetAMPolicyConfigService.
    However, when I started AM (which is running on Sun Web Server), I got the following error message:
    ------------------- in /var/opt/SUNWam/debug/amSDK ---------------------------
    05/01/2006 04:46:43:324 PM SGT: Thread[main,5,main]
    ConfigManager->Constructor: root DN dc=sg,dc=com
    05/01/2006 04:46:43:403 PM SGT: Thread[main,5,main]
    Invoking _ldapPool.getConnection()
    05/01/2006 04:46:43:403 PM SGT: Thread[main,5,main]
    Got Connection : LDAPConnection {ldap://sg-dsq405.sg.com:389 ldapVersion:3 bindDN:"cn=puser,ou=DSAME
    Users,dc=sg,dc=com"}
    05/01/2006 04:46:43:410 PM SGT: Thread[main,5,main]
    Invoking _ldapPool.close(conn) : LDAPConnection {ldap://sg-dsq405.sg.com:389 ldapVersion:3 bindDN:"c
    n=puser,ou=DSAME Users,dc=sg,dc=com"}
    05/01/2006 04:46:43:411 PM SGT: Thread[main,5,main]
    Released Connection : LDAPConnection {ldap://sg-dsq405.sg.com:389 ldapVersion:3 bindDN:"cn=puser,ou=
    DSAME Users,dc=sg,dc=com"}
    05/01/2006 04:46:43:411 PM SGT: Thread[main,5,main]
    ERROR: ConfigManager->Constructor: Caught exception Message:The user does not have permission to per
    form the operation.
    ------------------------------------ end --------------------------------------------------
    -------------------------- in /var/opt/SUNWam/debug/amAuth ---------------------
    05/01/2006 04:47:21:252 PM SGT: Thread[main,5,main]
    Directory Host: sg-dsq405.sg.com
    Directory PORT : 389
    05/01/2006 04:47:21:298 PM SGT: Thread[main,5,main]
    AuthD initializing
    05/01/2006 04:47:21:610 PM SGT: Thread[main,5,main]
    ERROR: AuthD failed to get auth session
    05/01/2006 04:47:21:688 PM SGT: Thread[main,5,main]
    ERROR: AuthD init()
    com.iplanet.dpro.session.SessionException: AuthD failed to get auth session
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:709)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    ----------------------------------------- end --------------------------------------------------
    Any idea how to solve this problem? Thanks in advance!
    justCheeChong
    Message was edited by:
    justCheeChong

    check if the new DS instance has all the AM required ACI's.

  • Reauthencation of Wireless User does not get prompt

    Hi Sir,
    I set up a Radius server(Cisco ACS) to authenticate wireless users via 802.1x. The EAP protocol deployed is Microsoft PEAP as most of the clients OS is XP. The users might be sharing the same laptops. When a user select the wireless network to connect to, he was prompted a window for him to enter the Username, Password and Domain field. After successful authentication, he was able to access the network resources.
    However, the user is not prompted the Username, Password and Domain after he has done so the first time. I understand that XP cached the user credentials in the registry. But my customer would like the window prompt to appear when the following scenario happens to reauthenticate
    a) Session timeout (Notice options in Group profile in ACS but didnt seem to work). What is this session timeout in ACS?
    b) Idle timeout to reauthenticate the current wireless user as the user might leave his workspace for a short period of time and someone might have use his credential to access the network illegitimately
    c) When he shuts down the PC and the laptop is passed to another user but the previous user credential is used rather than the second user credentioal is used.
    How can I disable the automatic cached user credentials? Is there a way to prompt the user after a period of time for him to enter Username, Password and Domain field again? Is the option available in the XP client? I search through the AP configuration options but found none.
    Please advise. Thank you
    Delon

    Try this link
    http://www.cisco.com/en/US/tech/tk59/technologies_configuration_example09186a0080094671.shtml#cswin

  • Problem in Print Program, picking JECS value but not maintained

    Hi,
    I have a report for Invoice Printing.
    My query is related to Item conditions that in one item we have not maintained JECS condition of 3% but when we are printing the program, that is printing Education cess 3%.
    This is done by the user mistake, because when we maintain JECS condition for 3%, the same output will be shown.
    But in my case, user forgot to insert this condition. After that printout showing the Education cess 3%, but in VF03, respect to that line item conditions there is not maintained JECS condition.
    Pls guide..how it is possible..
    Regards..

    comment these lines in ur program & see
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    control_parameters = w_ctrlop

  • Cannot save billing, when the sales price is not maintained in VK11

    Dear Expert,
    I want to block billing when the sales price is not maintained in VK11?
    How to block it?
    Thanks
    SAP Support

    Hi,
    We cannot have incompletion procedure at the billing document level.It will be happened at the sales order level.
    But we can control this one either by using the user exit or any ABAP code.
    Goto the T.Code "V/06".Select your condition type.Details.Maintain the value as "A" for the field "Manual entries".
    Goto the T.Code "V/08".Select your pricing procedure.Details.
    Maintain this condition type as required.
    Save.
    This ensures that it should fetch values for this condition type automatically i.e. from condition record.Else it will throw an error message.
    Regards,
    Krishna.

  • Server hangs and session variable value not maintained.

    dear all,
    this is exteremetly urgent. i upgraded my tomcat to 4.1.24.but i have problems running the same code which was working earlier, i get null in the value of session variable. and also get the following error
    ////////////////error got /////////////
    Compile failed; see the compiler error output for details.
    at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
    at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext
    .java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2415)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:22
    3)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :594)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:392)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :565)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:619)
    at java.lang.Thread.run(Thread.java:536)
    ///////////////end of error messsge ////////////
    the code where i am getting this message is as follows
    <%@ page session="true"%>
    <HTML>
    <HEAD><TITLE> LOGGED IN ok</TITLE> </HEAD>
    <%@ page import="java.sql.*" %>
    <%! // declaring variables
    String s = "";
    java.sql.ResultSet rs=null;
    java.sql.Connection con;
    java.sql.Statement stmt=null,stmt1=null;
    String username = "";
    String password = "";
    String Ousername = "";
    String Opassword = "";
    String changepass="";
    String usertype ="",useremail="",EmpName="";
    %>
    <body>
         <%      
         try
         //set session for max of 100 milliseconds
         // session.setMaxInactiveInterval(10000);
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         con = java.sql.DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +"DBQ=c:/vishal/HelpDesk.mdb;DriverID=22;READONLY=false","","");
              stmt = con.createStatement();
              s = "select * from LoginUser";     
         username = request.getParameter("LogonId"); //get this through prev. form
         password = request.getParameter("txtPassword");
         out.println(username + " " + password);
         // make explicitly to lower case
         username = username.toLowerCase();
         rs = stmt.executeQuery(s);               
                        while(rs.next())
                        //getting data from database
                        Ousername = rs.getString("EmpName");
                        Opassword = rs.getString("Password");
                        useremail = rs.getString("EmailId");
                        usertype = rs.getString("UserType");     
                        if(Opassword.equals(password) && Ousername.equals(username)) //found match correct entry
                             changepass = request.getParameter("PasswordNew");
                             if(changepass != null)
                             stmt1 = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_UPDATABLE);     
                             s = "update LoginUser set Password = '" + changepass + "' where EmpName = '" + username +"'";
                             out.println(s);
                             stmt1.executeUpdate(s);
                             stmt1.close();
                             if(usertype.equals("User") == false)//ie admin
                             session.setAttribute("username",username);     
    ************************this value not maintained *********************
                             session.setAttribute("useremail",useremail);
                             session.setAttribute("usertype",usertype);
    ************************this value not maintained *********************
                             //closing connections
                             %>                                                       
                                  <jsp:forward page= "ComplaintType.jsp" />                         
                             <%
                             else //user
                             EmpName = username;
                             session.setAttribute("EmpName",EmpName);                         
                             session.setAttribute("useremail",useremail);
                             //closing connections
                             %>
                             <jsp:forward page="ComplaintCategory.jsp" />
                             <%     
                             }//end if
                        }//while loop                                   
                        //first closing connections then forwarding                    
         %>
                        <jsp:forward page="InvalidLOGIN.jsp" />
                        <%     
                        ///rs.close();
                        ////closing
                        //stmt.close();
         // con.close();
         }//try
              catch(Exception ep)
              out.println(ep);
              System.exit(1);
         %>
    </BODY>
    </HTML>

    hi all,
    thanx a lot for your help,specially hari52
    hari52 strangely enough the code started working,but
    now i have another problem
    after a while my server hangs or gets shutdown ,a
    message is shown as
    "java.exe has generated error and will be shutdown"
    i know that more connections can be a prob. but i
    make sure that connections r closed on each page,also
    i am a newbie and do not have the time at present to
    learn abt. connection pool ,can this problem be
    solved easily?
    it would be a great help again on your part,
    thanx again,You remove the System.exit(1) line from the code inside the catch block
    and try again. That's the reason tomcat getting down. System.exit(1) should not be used inside jsp. it will make the underlaying Servlet Engine to shutdown.

  • Vendor if not maintained at the company code level

    Hi,
    System should not save the PO, if the vendor has not maintained at the company code level. How to achieve this?
    Regards,
    Sattuj

    > System should not save the PO, if the vendor has not maintained at the company code level. How to achieve this?
    Vendor Need not to be Maintained at Company Code Level For Creating Purchase Order.
    During IR only System will Look whether Vendor is Maintained at Company code Level.
    Try the User Exit MM06E010 Field selection for vendor address and Check any Possibility is there.
    What you can do is you Can Restrict Users to Use MK01. And give Authorization to Limited Users for XK01.
    Regards,
    Ashok
    Edited by: Ashok Kumar Telikula on Sep 18, 2008 9:05 AM

Maybe you are looking for

  • Help me spend 20k on VDI/Virtualization/all-in-one Cluster. What would you do?

    I want to buy hardware for VDI, virtualization and general cloud-services. (hardware will be colocated.) I need some help/advice on my current setup; I already have a (semi-succesfull) IT company, I have a customer base, advertising, cashflow, connec

  • BBP_CHNG_AGNT_ALLOW and BBP_CHNG_AGNT_GET

    Hi All,   We are using SAP SRM 4.0 system which does not have Definitions for the BADI's BBP_CHNG_AGNT_ALLOW and BBP_CHNG_AGNT_GET, so we are planning to implements the SAP Notes 818342 which will deliver the BADI's into the system But my doubt is, i

  • Advanced search in NLS environment

    Customer environment: - 8.1.7.1 and iAS 1.0.2.2 with portal created a number of Portal Content Area's with default language Danish with online translation to english. Uploaded a number of document - all stores 2 types (Danish and English)with use of

  • Time Machine file owner problem

    I have a Firewire drive connected to my iMac. I back up the iMac and a Macbook Pro to it. Due to problems with the MBP's wireless I fell back from 10.6.1 to 10.5.8. That didn't fix my problem so I went back to 10.6 after an erase and install of 10.5

  • My p-button doesn't work

    My p-button doesn't work, not with shift, not with caps lock. Its not anything in Speech. When I restart, and open safari (my homepage is google) then in the search line, "p" 's start typing, without me touching the keyboard. When I touch p-button, i