J_security_check not redirecting after authentication - in one environment

Hi all,
I have a J2EE web application developed in JDeveloper 10.1.3 which uses JAAS security with a custom authentication provider class. I can configure this is both a windows and unix based OC4J. The windows OC4J is stand alone, the unix one is part of a managed instance (OPMN).
When I deploy to windows, attempts to access a protected resource cause the authentication to fire off perfectly and redirect to the appropriate url after login is successful. Absolutely no problems.
When I deploy to unix with the same configuration, the authentication fires off perfectly but after authentication the redirect attempts to go to Base URL/j_security_check which results in a 404 not found as j_security_check is a logical name and not a real url.
I have tried setting the ocfj.formauth.redirect flag in the oc4j startup options and this did not seen to help. I still got the 404 error.
Can anyone advise me on whether there are any switches or parameters I need to set for the j_security_check redirection to work correctly, or is there something else I need to do in a unix (Solaris) environment to cause the redirections to work?
thanks for any suggestions
Ben

Hi,
you are always seeing the j_security_check in the URL. It seems that this problem is OC4J rekated and I suggest to post the question on the Application Server or the J2EE forum here on OTN
Frank

Similar Messages

  • Process.conf file not found after installing Sun One Portal Server 6.0

    This extract is from the Sun One Portal Server development guide for logging error or logs in log file. This says that to generate the log, entry should be done to enable logging in process.conf file. I could not find any such file after installing Sun One Portal Server 6.0.
    Any help will be appreciated...
    Reporting Errors to the Robot Log File
    When problems occur, robot application functions should return an appropriate response status code (such as REQ_ABORTED), and they should also log an error inthe error log file.
    To use the error-logging functionality, you must include the file log.h in thesdk/robot/include/libcs directory. After you have ensured that log.h exists in the correct place, you can use the cslog_error macro to report errors. The prototype is in the following format:
    cslog_error(int n, int loglevel, char* errorMessage)
    The first parameter is not currently used (may be used in the future) You can pass
    this as any integer.
    The second parameter is the log level. When the log level is less than or equal to the log level setting in the file process.conf, the error message is written in the robot.log.

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Oracle event alert not activated after fndload to new environment

    Hi,
    Oracle event alert not activated after fndload to new instance, it works in the development instance, checked that the SQL should return row, any hints please.
    Thanks,
    CY

    Please post the details of the application release, database version and OS.
    What was the command used to download/upload the alert?
    Please see if the following docs help.
    Alert Is Not Working After Uploading By FNDLOAD (Doc ID 1087572.1)
    How to transfer alert definition from One Instance to another instance using cmdline script (Doc ID 400295.1)
    How can you move an Oracle Alert from one instance to another from the Operating System level? (Doc ID 376891.1
    Thanks,
    Hussein

  • INotes not redirect after integrate into portal

    Hi .
    I follow help :http://help.sap.com/saphelp_nw70/helpdata/en/e0/1059d2674d9f43907169400ac6618a/frameset.htm
    when I use url  http://lotusServer/ . 
    display a form .when I  enter username and password.
    It redirect the url http://lotusServer/mail/notesadm.nsf/
    is OK.
    when I create a url iView in portal. use url  http://lotusServer/
    the form  is display. when I enter the username and password.  click the Button.
    it is not redirect .  the iView is not change.
    Why? help me  thanks

    Hi,
    we have recently patched Portal DEV system with SP7 , after we try to login into the system, we are getting message..
    asking  user details with  any user..
    please find the details:
    Provide user contact information.like asking , last name, first name and email for Administrator and j2ee_admin users also
    could you suggest me, how to overcome this problem.
    ABAP Dump triggering in ECC system:
    Runtime Errors         SYNTAX_ERROR
    Date and Time          17.11.2010 14:06:45
    Short text
        Syntax error in program "CL_HTTP_SERVER_NET============CP ".
    What happened?    Error in the ABAP Application Program
        The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program
         "CL_HTTP_SERVER_NET============CP " in include
         "CL_HTTP_SERVER_NET============CI " in
        line 64:
    Error analysis    The following syntax error was found in the program
         CL_HTTP_SERVER_NET============CP :
        "Implementation missing for method "SET_SSO_MANDATORY" . ."
        "Implementation missing for method "SET_SSO_MANDATORY" . ."
        The include has been created and last changed by:
        Created by: "SAP "
        Last changed by: "EXTVEEVEN "
        Error in the ABAP Application Program
        The current ABAP program "SAPLHTTP_RUNTIME" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    regards,
    balaram

  • Policy Agent 2.2, IIS 6.0, CDSSO and redirects after authentication

    Hi
    I've got a problem where a HTTP/1.1 200 and 302 are returned by the Policy Agent / Application, after the Javascripted POST by the CDCServlet content is performed.
    The expected functionality is that the user is authenticated with the AM, the CDC Servlet serves the JavaScript page that will do a POST to the Policy Agent. The Policy Agent should then do what it needs to do with the POST, and forward request to the Application. The Application then does what it needs to do, and in this case, serves a HTTP/1.1 302 for redirection back to the browser.
    However, it seems that the Policy Agent might be returning a HTTP/1.1 200, and setting the iPlanetDirectoryPro cookie, quickly followed by the HTTP/1.1 302 and the setting of whatever cookies it wants to set.
    The Policy Agent should be respecting the return code of the Application. This problem does not appear when run against the Policy Agent for the Sun ONE Web Server.
    Wondering if anyone has seen this before?
    Here is sanitized output from a trace on the POST and resulting response.
    POST /oslp/?sunwMethod=GET HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    Accept-Language: en-au
    Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Host: sco88342744.corp.qed.qld.gov.au
    Content-Length: 3496
    Connection: Keep-Alive
    Cache-Control: no-cache
    X-ProcessAndThread: IEXPLORE.EXE [904; 2908]
    LARES=<snip>
    HTTP/1.1 200 OK
    Date: Wed, 16 May 2007 22:25:42 GMT
    Server: Microsoft-IIS/6.0
    Set-Cookie: iPlanetDirectoryPro=AQIC5wM2LY4Sfcz8tCfJ96AXxjIgRzuZJDgE7gMeTO0iIS4%3D%40AAJTSQACMDQ%3D%23;Path=/
    HTTP/1.1 302 Found
    Date: Wed, 16 May 2007 22:25:42 GMT
    Server: Microsoft-IIS/6.0
    X-AspNet-Version: 1.1.4322
    Location: /oslp/user/signon.aspx
    Set-Cookie: ASP.NET_SessionId=lh4sus55y1iy2r5514onnjuj; path=/
    Cache-Control: no-cache
    Pragma: no-cache
    Expires: -1
    Content-Type: text/html; charset=utf-8
    Content-Length: 139
    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a href='/oslp/user/signon.aspx'>here</a>.</h2>
    </body></html>

    Hi,
    we had the same problem, but we got support
    from readme.txt
    Bug#: 6789020
    Agent type: All Agents
    Description: In CDSSO mode non enforced POST requests cannot be accessed
    Bug#: 6736820
    Agent type: IIS 6 Agent
    Description: IIS 6 agent doesn't work properly with ASP pages in CDSSO mode
    Both bugs should be fixed in this version:
    Sun Java System Web Agents 2.2-02 hotpatch2

  • Emails not loading after moving from one Inbox to another

    I was having problems with one of my Mail accounts recently (it would randomly not pull in new emails, go offline, not connect to the SMTP server etc.) and on advice create a new one. When this was up and running, I planned on moving the Inbox and Sent Items from the dusfunctional Mail account over to the new account's Inbox and Sent Items folders.
    After dragging the items from the old to the new folders, I deleted the old Mail account. Before deleting the old account, I checked to make sure that the old emails were listing correctly in the new folders which they did, showing the sender's name and subject line. I however neglected to notice that the Preview text was not showing on some of the messages although it was showing on others. I also did not click on any of the messages to see if they would actually open. I just saw them listed and thought the transfer job was done.
    After deleting the old Mail folder, I am now left with all of the old emails listed in my new Inbox and Sent Items folders, but when I try to open them it just says "Loading" and nothing else happens. I assume that message contents had not yet fully moved over into the new location by the time I deleted the old Mail folder....
    Does anybody know if there is any way in which I might still retrieve the fiull content of the old emails? Does deleting the Mail account also delete all of its emails from my hard drive? Or are they still sitting somewhere?
    All suggestions appreciated.

    Link the two Macs together: there are several ways to do this: Wireless Network, Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then launch iPhoto. That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    +Note: there is no importing involved+
    The thumbs appear, but the images are added 2 or 3 times each and the events are all messed up.
    This happens when you import one Library to another, which you've done by drag and drop:
    Creating a black library and over writing the new with the old.
    Your problem is arising because of the Network Share. iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos.
    Regards
    TD

  • Getting "The Document has not been opened" message on one environment

    Hey, before I begin, here is some basic information that the sticky asked me to provide...
    Version of Crystal Reports or BOE used in your development project = Business Objects Enterprise XI 3.1. Specifically, the CrystalReportViewer that we are using is in CrystalDecisions.Web 12.0.1100.0
    The development language and the version of the development language = C# .NET 3.5 using ASP .NET
    The database you are connecting to = Microsoft SQL 2008 Database
    The database connection type (OLE DB, ODBC, etc.). = OLE DB
    Does the application work on your development computer? Yes, it works on all our environments (DEV, QA, Acceptance (a further level of QA) except for the newest pre-prod install that was done.
    Okay, so we have a web application that involves running of crystal reports, which works great in most environments. Essentially a user chooses a report to run, configures their criteria and clicks generate then a non-modal popup window is opened with the CrystalReportViewer in it that actually displays the report to the user. We've recently deployed this app to our pre-production environment for final user-testing before it goes to full production.
    However, what's happening is when the crystalreportviewer pop up appears, it just merely displays in simple text "The document has not been opened". If I hit refresh on the popup then the report actually does generate, but only after clicking refresh...which is a behavor not experienced anywhere else.
    Any help on this would be greatly appreciated (the only thing I found through googling is that that error can be generated if the server does not have the Microsoft C++ Redistributable package installed...our server has this, identically to all our other working servers)

    Hi Scott,
    Use ProcessMonitor from Microsoft and look in the logs to see if there are any Access Denied errors. Also look in the IIS logs and Event viewer to see if anything there is being logged.
    Anti-virus software logs is another place to look....
    Pop up blocker in the Browser maybe or possibly adding the new server name to the trusted list.... Domain permissions possibly...
    If you browse the App from the Server does that work?
    Don

  • Report not running after moving to new environment

    I have a Business View designed in a test environment and reports written against that view.
    The view has been exported & imported to a production environment, with other views added to that environment.
    The report has been copied across & pointed to the correct repository.
    On my test environment, the report runs in 2 minutes, in production it takes more than 2 hours when run from any of the Designer, the CMS or Infoview. Volumes of data being read are similar.
    Test environment server has less RAM than Production, Production has CRS installed on one server & databases on another.
    The only event viewer messages are transport error: invalid object reference, but these occur on both servers on running. There is nothing the any of the CRS log files
    What should I be looking for to diagnose the issues? The customer need to run their year end reporting, and is currently unable to do so, as the reports are timing out for their users.

    The method which you used doesn't finds any info about the production database performance.
    Please create a connection directly to production database from test environment and then test it. This confirms prod database performance efficiency.
    Regarding tracing, if you use ODBC connection, we can do the tracing.
    Here is the tracing method for ODBC connection ( in windows) --- Control panel --> Data sources (odbc) --> Tracing --> define the  "Log file path" where the trace log will be stored --> click button "Start Tracing Now".  ... This you could do this in the production BO server environment .
    Please make sure that, you should stop the tracing option again in the same way. Or else it could slow down the performance.
    And I donot know enabling tracing for SQLOLEDB connection.
    Regards
    Gowtham

  • My mac will not reboot after hibernating for one hour. Is there something I am missing?

    When my mac ibernates (sleeps) for one hour it appears to freeze and the only way I can reboot it is to turn it off at the power source and then turn it on again. Is there some simple remedy I am missing?

    Your Boot Drive may be dying.
    Do not wrestle with it now. Instead, take a new drive and Install Mac OS X on it from scratch. If you do not have an available drive, buy one -- they are well under US$100. There is no need to shuffle drives around, your Mac will boot from whatever drive is specified in System Preferences > Startup Drive.
    Once you have a working version of Mac OS X, the full Mac OS X can be applied to resolving those other problems. Solving problems with just the Installer and its Utilities is very difficult.

  • How to make mail not reappear after deleting in one place

    Whenever I delete an email in the trash, then I go to all mail and refresh, that same set of emails is there so I have to end up delete the exact same emails twice
    Help!

    Maybe the preferences file is corrupt. You could try deleting it:
    hold down the option key
    in the Go menu in the Finder, go to Library
    in Library, go to Containers/com.apple.mail/Data/Library/Preferences and drag it to the trash
    restart
    you will have to reenter your preferences
    maybe do that and then rebuild the mailbox again.

  • Redirect after successful authentication

    Hi Experts,
    I am trying to redirect the users to a different portal component after they are successfully authenticated, as I need the details of the authenticated user, especially the R3Name that was mapped to. I have done the below modifications in umLogonPage.jsp of the logon application:
    Deleted the form action:
    onaction="<%=inPortal?"":logonBean.getLogonURL(proxy, null)%>";
       2. Deleted the onSubmit of the form:
    ?"onSubmit=\"javascript:addTenantPrefix();\"":""
      3. Changed the type of logon button to button from submit.
      4. Then, I have added the below script in the umLogonPage.jsp which is being called onclick of the logon button:
    function payrollPnumCheck()
      addTenantPrefix();
      var logonAction =  "<%=inPortal?"":logonBean.getLogonURL(proxy, null)%>";
      <%
      boolean locked = PayrollStatus.isPayrollProcessing();
      if((locked)){
      %>
      alert(location.pathname);
      window.location.assign("http://zabrysvsapzhd:50000/irj/servlet/prt/portal/prtroot/com.dd.payrollProcessing.systemLocked");
      <%
      }else{%>
      document.logonForm.action=logonAction;
        document.logonForm.submit();
      <%}%>
    But, the portal is not being redirected after the authentication.
    Please let me know what am I doing wrong here. I am quite new to js and jsp.
    Thank you,
    Sai

    How are these Portal components deployed in the portal, NWDI activites or EAR/SDAs?
    IN either way you should be able to get a link to the landing page (might be index.html or jsp) e.g. http://<SAP>.<domain>:5xx000/<Application-Deployed-EAR>/root/landingIndex.html (in case of EAR SDA deployments) or http://<SAP>.<domain>:5xx000/<SID_TrackID_D><DC>/landingIndex.html
    These URLs can be wrapped in a URL iVIew and then assigned to a Page with no padding and borders so as to appear as a like any other normal webpage.
    If you don't change he page display settings you'll get the Framework headings, title and all SAP standard components and would look weird if the application is not a dynpro one.

  • Trusted Authentication - redirect to more than one IP

    Couple of questions:
    1.  Can I are redirect to more than one IP as its set in the workers.properties.minimal?
    2.  If yes what would be used as a seperator? semi colon?
    I am trying to move my dev environment to another server but would like to test the new location while the old stays up and running Trusted Auth.
    Thanks...
    Tom Nather
    Cleveland Clinic

    1. Can I are redirect to more than one IP as its set in the workers.properties.minimal?
    not in the worker properties, you can specify a host name instead of IP and set up a DNS round robin, but you will have no real control over which server you go to, a round robin would just switch each request.
    I am trying to move my dev environment to another server but would like to test the new location while the old stays up and running Trusted Auth.
    I'd just look for any free server or vm where I could throw IIS on and redirect that to the new one until ready to switch over.
    -Tim

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • After update IOS from 6.0 to 7.1, my Apple Id cannot access to my Iphone due to the Apple ID that comment on IOS 7.0.2 was not matched to the old one.

    I have gotten the problem after updated IOS to version 7.0.2.  I signed up my IPhone with su* @pttplc.com as Apple ID via older IOS version and can use it normally but after I update the IOS version from 6.0 to 7.0.2, the Apple ID that commented on my IPhone is sx* @pxxxxx.com. It look like that the number of alphabet in Apple Id is not matched. The new one is less than the old one so I cannot log in my IPhone. After that I try asking for the new password but the new password was not send to su* @pttplc.com but send to my reserve e-mail instead. Please help me to fix the problem ASAP due to I cannot access IPhone for 2 month already. 
    Please suggest the solution to reset my IPhone to normal. Please advise ASAP. Thanks in advance.
    PS. If you want any further information, please do not hesitate to let me know.
    <Email Edited by Host>

    Hey Suwat Chanpui,
    Thanks for the question. I understand you are having issue relating to your Apple ID account after updating to iOS 7. The following articles may help to resolve your issue:
    iCloud: "Incorrect Apple ID or Password" alert when setting up iCloud after upgrading to iOS 7
    http://support.apple.com/kb/TS5207
    If you recently changed your Apple ID and did not update your Apple ID on your device:
    1. Tap Skip This Step to continue.
    2. After completing iOS 7 setup, go to Settings > iCloud.
    3. Scroll down and tap Delete Account, then enter your previous Apple ID and password.
    4. If your Apple ID or password are not accepted, follow the steps in iOS 7: If you're asked for your previous Apple ID when signing out of iCloud.
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    https://support.apple.com/kb/TS5223
    3. Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't work, try these steps:
    1. Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    2. Tap Settings > iCloud and try to sign out.
    3. Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    4. Tap Settings > iCloud and sign in with the new Apple ID.
    If you are instead experiencing issues with Activation Lock, the following articles may help to resolve your issue:
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/TS4515
    Thanks,
    Matt M.

  • My wi-fi on my iPhone 4S is not working after updating to ios7 and is a few weeks out of warranty, the Apple store wants me to pay £160 for a new one, are they joking?!

    My wi-fi on my iPhone 4S is not working after updating to ios7 which was working perfectly fine before. It is a few weeks out of warranty now and the Apple store wants me to pay £160 for a new one, are they joking?!

    Hi there Juicy Guava,
    You may find the troubleshooting steps in the article below helpful.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    -Griff W. 

Maybe you are looking for