Java sample with mod_osso doesn't work

Hi,
I use 9iASR2 and i'm developing an easy sample extracted from "Oracle Single Sign-On Application developer guide" (January 2002)
I've developed a servlet :
public class ssotest extends HttpServlet
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println("Remote User: " + request.getRemoteUser());
out.println("Osso-User-Dn: " + request.getHeader("Osso-User-Dn"));
out.println("<a href=/osso_logout?p_done_url=http://www.yahoo.com>Logout</a>" + request.getHeader("OssoUser-Dn"));
and i've added in mod_osso.conf file :
<Location /mypath>
require valid-user
authType Basic
<Location>
So, when i try to access the servlet, i'm redirected to the SSO server (that's good) but when i put a login and password and click, the error message below diplayed :
Oracle SSO Warning
Request not granted. Please specify the URL in terms of a fully-qualified host name and try your request again.
If the problem persists, please notify your administrator as the Oracle SSO configuration may be invalid.
Thank you for your help.
Franck

Also, try using the same value for the hosts in all the directives. And, maybe drop the weights down from 50 each to 1 each, so that it looks like this:
Oc4jSelectMethod roundrobin:weighted
Oc4jRoutingWeight FRServices.server1 1
Oc4jRoutingWeight FRServices.server2 1
Oc4jMount /forms/frmservlet instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms
Oc4jMount /forms/frmservlet/* instance://FRServices.server1:OC4J_BI_Forms,FRServices.server2:OC4J_BI_Forms

Similar Messages

  • Cropping pictures with Viewer doesn't work.

    Cropping pictures with Viewer doesn't work.
    Selecting < or ~ 12 pictures. (picture size are Snapshots with iphone resolution) ->Viewers opens and display them. -> Russian roullette between cmd+k or the little crop button. No indication which one will process a crop or which not. -> Both result in picture selection disappear with no crop.
    Selecting > 12 pictures. (picture size are Snapshots with iphone resolution) -> Viewer opens and display them. I crop them one by one with same Russian roulllette behavior between cmd+k or the little crop button. -> Closing Viewer. -> Pictures remain like they've been before. Not cropped.

    I just tried what you described (although I can't really fathom why you would describe it as Russian roulette (with a variable number of L's). Unless you've been drinking a lot, which is what people are usually doing when they are playing Russian roulette. Your post was hard enough to decipher without that.
    Anyway, my cropping was saved each time. I think there's something wrong with your Preview.app. Have you changed anything about the autosave functions of OSX?
    I would try:
    Boot into your recovery partition (restart, hold down ⌘R until you see the Apple logo), and use Disk Utility to repair your hard drive. Repair permissions too while you're there. OS X: About OS X Recovery
    if that doesn't help, then I'd reinstall Mavericks over your current installation.

  • Java 1.4.1 doesn't work right with Win98se and IE6SP1

    I have installed the 1.4.1 runtime on two computers. On the WinXP one (with IE 6 SP1) everything works 100%. When applets are loading the Java icon is showing in the placeholder, and in the system tray. I can open the console from IE, and all applets work (also the "hot java" on download page that does not work with the Microsoft buildt in Java :-)
    BUT, on the Win98se machine not everything is working. First there is no Java icon either in the applet windows nor in the system tray on most applets (like my homepage http://home.chello.no/~larse/ or my worsk page http://datafangst.ergogroup.no), I cannot open the Java console from Internet Explorer either. So I suspect it's still using the Microsoft Java. BUT even stranger, the "hot java" animation on the Sun download pages IS showing, and THEN the Java icon shows in the tray. Why is it only using the Sun Java for some applets - not all ?

    I experimented some more today, trying to find out why IE is not using SunJava.
    I search the registry, and found that all references to Java (even the "Sun Java Console" menu) pointed to "c:\windows\system\msjava.dll". But there was a key "Treat as" that pointed on to the SunJava plug-in object (could the problem be that Win98 doesn't understand this and still use the default MS Java).
    Also tried using "Norton Registry Tracker" to track what happened when I turned on/off SunJava for IE in the Control Panel and in IE. No changes anywhere. Isn't that a bit strange too...
    Finally I just took a shot and renamed "c:\windows\system\msjava.dll" just to try to get rid of the MS Java AND THEN suddenly the SunJava works everywhere, and the "Sun Java Console" menu works too...
    And no matter what I configure (turn on/off Sun Java in IE, turn on/off support for IE in the Sun Java control panel...) it always use SunJava.
    Haven't noticed any side-effect so far, so it works for me, but I'm quite sure this is NOT the way it is supposed to work - right ?

  • Wireless keyboard with Marvicks doesn't work properly

    It's not easy to post this article due it's Marvicks (?) / Apple wireless keyboard problem.
    Once I'm at home, I use my MBP like a desktop by connecting with Apple wireless keyboard/mouse. Works Great!
    Since a while, I updated to Marvicks with great experience, but my wireless keyboard doesn't react on some uppercase keys. So, what I can do is: switch to caps-lock then type the missing key or type on MBP keyboard to get "T".
    Look to here and you will find which uppercase letter doesn't work:
    (use only with right-shift combination) aAbcCdDeEfFghHiIjJkKlLmMnNoOpPqQrRsStuUvVwWxXyYzZ.
    (use only with left-shift combination) aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStuUvVwWxXyYzZ.
    Don't work letters/function:
    (right-shift combination) B, G, T
    (left-shift combination)   T
    "fn+delete"
    Further, I have "Pinyin - Simplified" language installed. During Chinese input, I need switch to normal alphabet by activate "caps lock". This is an Easy and fast way to toggle between Chinese - English input. (much convinient than Language switch via mouse clicks).
    My older OS (Leopard, S.L, Lion) works well, but Marvicks interpret differently. Once "caps lock" and I navigate with cursor keys, sometime it convert my typing into e.g.: "\[34334" (this is not the exactly right sample, due I can't simulate this at this moment), something like that. It looks like the "Escape sequences"
    This is frustrating when I write my document without looking to the display regularly.
    Please help with thanks!

    Martindorcom wrote:
    It's not easy to post this article due it's Marvicks (?) / Apple wireless keyboard problem.
    Why don't you use the MBP's internal keyboard?  Does it also not work right?
    Have you tried another external keyboard?  If not, you should do that.  If it works OK,  then you need to replace the one causing all this trouble.

  • PLEASE : JAVA PARSER SCHEMA XML doesn't work

    Hi,
    I search how can I parse a xml document with schema, which works with Sun'SAX in JAVA.
    I have no real idea to it, but I think that JAXP can work (is it a good idea?)
    I have found this exemple :
    http://dataml.net/articles/ValidateXMLSchema/part1.htm
    This example is often posted in the forum, but for me it doesn't work, and you? have you had a probleme with it?
    Have you others examples which work or tutorials for parse xml with schema with SAX in java?
    Furthermore what are the specifics recommandations to install JAXP ?
    Thanks a lots.

    Nobody can help me?
    please

  • Printing PDDoc with AFExecuteThisScript() doesn't work after an upgrade from SDK 5 to SDK8

    Hello,
    I have made an upgrade of my plug-in which was developed with the Acrobat 5 SDK. I upgrade it to Acrobat 8 SDK and my print function doesn't work anymore.
    Actually I print my document using a javascript trusted function instead the function provided by the C++ library for internal reason.
    Here below is the code used to print my document :
    char szJavaPrint[6000];
    sprintf(szJavaPrint,
    "pp = this.getPrintParams(); \r\n"
    // fill pp with parameters
    "pp.interactive = pp.constants.interactionLevel.silent; \r\n"
    "\r\n"
    "this.trustedPrint(this, pp);"
    PDDoc pdDoc = AVDocGetPDDoc(avDoc);
    AFExecuteThisScript(pdDoc, szJavaPrint, NULL);
    It was working with the Acrobat 5 SDK but the print seems to have no effect using the Acrobat 8 SDK. I know that there is a change between Acrobat 5 and 8 concerning the Character Set (currently I set the Character Set to "Not Set" in the Configuration Properties of the project) but I don't think that my problem comes from the Character Set.
    All ideas to resolve this problem are welcome.
    Kind regards,
    Joe

    See what happens if you remove the "setting of interactive to silent"...
    There is a restriction on silent printing in Acrobat, but I would not have expected that to be passed into this method - but it could have been overlooked and be a bug.
    Also, I don't recall a trustedPrint() method in Acrobat JS - check the documentation for the correct name of this function...

  • Java 7.45 update doesn't work, even though I've enabled the add-on. Help!

    Updated to Java 7.45 and now it doesn't work in Firefox. I'm running Firefox 25 in Windows XP. Java works fine in Explorer, but not Firefox. Have enabled (Always Activate) in my Add-on Manager. Have re-installed and re-booted, un-installed older versions of Java - still not working. Help!

    Thanks cor-el,
    Yes, in the Firefox Tools/Add-ons Manager, the Java Platform shows as Always Activate.
    And the Java Console also shows as checked in Enable Java content in the browser (in the Security tab), as well as checked as the default Java for both Firefox and Explorer (in the Advanced tab).
    Other ideas?

  • After upgrade to IOS 8.3 sync with iTunes doesn't work

    After upgrade iPhone 6, iPad Air to IOS 8.3, the sync (over wifi, as well) to iTunes doesn't work anymore.
    On iMAC iTunes, the last sync's hour and day appear different from what is recorded on mobile devices (iPhone and iPad); with IOS 8.2 and the previous iTunes' version the sync worked correctly: the dates are the same only for few seconds after syncronization, then the IOS devices show the syncronization's dates related to two weeks ago.
    Thanks

    you'll need to contact your carrier.

  • Fit the window with mouse doesn't work after new update 10.9.2

    Hi, I could fit a windows using my mouse wheel or two finger(on trackpad), doesn't work after I set up new Mavericks update(10.9.2) I'm using Haswell rMBP. Can anyone help me please? Thanks a lot. (Also, minimize with mouse wheel doesn't work too.)

    Doesn't anyone having this issue?

  • Synchronization of tasks and interaction logs with Outlook doesn't work

    Dear SAP Experts,
    I'm workink on CRM 7.0 (release 7.7.06.010).
    We are trying to make the synchronization of activities, contacts and tasks from our CRM system to Microsoft Outlook.
    It's working fine for the contacts and for the Apointment BP visit (transaction type Y020).
    But no synchronization made for others activities (interaction log Y007 and telephone calls PCAL) or BP Tasks (Y030) we created in the system.
    We just applied today SAP Note 1415263 and Groupware Integration 3.057.
    I made the settings in the CRM Calendar tab in Outlook (with synchronization from CRM to Outlook), and checked apointment, contacts and tasks.
    In customizing (CRM > Transactions > Basic settings > Define transaction types), I flagged for the following transaction types the little 'Calendar' box: Y020, Y030, Y007 and PCAL.
    In another entry (CRM > CRM Middleware and related components > Settings for client-based synchronization), I indicated the transaction type Y020 for DEFAULT_APPT_PROC_TYPE and Y030 for DEFAULT_TASK_PROC_TYPE.
    Any idea about what is missing or not already done?
    Any help will be apppreciated.
    Thanks in advance for your help,
    Kind regards,
    Grégory KREMSER
    Edited by: Grégory Kremser on Feb 3, 2010 3:13 PM

    We don't have a CAS array set up.  We want the fail over to be fully manual and only fail over to another server when mb1 is in a completely failed state and won't be back up and running withing a set time frame.  We can get everything working
    on MB3 and only Outlook doesn't work when everything is on MB2.  Outlook also doesn't work if databases are on another server and DNS is pointing Outlook to MB2 (again MB3 works fine).

  • Powerdns with MySQL doesn't work

    I recently switched from ubuntu to Arch and I love it. However I have problems with PowerDNS running with MySQL database. When I set pdns.conf to
    launch=gmysql                                                                                                           
    gmysql-host=127.0.0.1                                                                                                   
    gmysql-user=user                                                                                                 
    gmysql-password=pass                                                                                             
    gmysql-dbname=database_name 
    and restart pdns i get this error:
    Oct 22 22:43:34 Archlinux pdns[3337]: Caught an exception instantiating a backend, cleaning up
    Oct 22 22:43:34 Archlinux pdns[3337]: gmysql Connection failed: Unable to connect to database: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
    Socket connection doesn't work either.
    If someone could help me out of this I would be very happy.
    Best regards!
    Jernej

    It works! Thank you! Thank you! Thank you!
    I wasted so many hours combating this...
    I owe you a beer byte! Thx again!

  • 'Alt' with + or - doesn't work

    The adjustment increment of several of the sliders is supposed to be reduced by holding the Alt key down while the + or - key. This doesn't work on my system. I've tried tested both Alt keys with both + and - keys on my keyboard. No luck. All I get is the Windows error tone. Using the Shift key to increase the adjustment increment works as it should. Any ideas out there? TIA, njb

    I consider it's working OK on Windows
    But it's platform dependent !
    To resume :
    Windows   + and -  give  small  increments , shift and + and - give   big increments
    Mac          + and - give  big increments ,  alt and + and - give small increments.
    And the Martin Evenings book is the best LR book for me, though here he's may be not clear enough.

  • RowBanding with BC4J doesn't work

    I want to use rowBanding in a table with a viewObject as its source.
    It doesn't work.
    Could anybody help me?
    TIA
    Francisco Bosch

    Francisco:
    Could you tell me what you mean by "rowBanding?" Are you referring to Swing (JClient) client or HTML client?
    Thanks.
    Sung

  • [SOLVED]Something wrong with Locale, "ÅÖÄ" doesn't work in terminal.

    If you have this kind of problem stated above in the title, or similar, here is what I did...
    Make sure you have correct locale, you'll need a UTF-8 one.
    As stated in the install guide(or beginner's guide iirc) do the following:
    Uncomment  one of the locales in "/etc/locale.gen", it doesn't have to be language pacific if you're only after using UTF-8 which provides more characters than normal ASCII.
    then run "locale-gen". Make sure to set your "/etc/locale.conf" to "LANG=en_US-UTF8" of course you can choose whatever locale you want not just "en_US-UTF-8". After that make sure to reboot, it may also work with just log-out and log-in again, but I did not reboot and neither log-out and when back in. If it still doesn't work, run "locale" and "locale-a" if the output is "C" in each column just redo what I stated above, if it still not work, then you have to consult the manual, wiki and if you don't find the problem use a search-engine and if you still don't find answer here on the forums, the people here is really helpful!
    Last edited by kalle97 (2012-10-01 17:46:16)

    " Okey I uncommented sv_SE.utf8 in /etc/locale.gen ...
    You're supposed to uncomment "sv_SV.UTF-8 UTF-8", then run locale-gen (with sudo), not "sv_SE.utf8".
    That's what I did.
    https://wiki.archlinux.org/index.php/Be … ide#Locale
    ^ Except that you shouldn't use "echo" in this case. That command works well when you're logged in as root, but for sudo, not so much. Check the file with nano and you'll see that nothing changed. For sudo, use tee.
    $ sudo tee /etc/locale.conf <<< "LANG=en_US.UTF-8"
    Note: You don't necessarily need "sv_SV" for those characters to show up. Setting a "sv_SV" locale would make programs show up in Swedish instead of English - unless that's what you want. UTF-8 locales will cover those characters just fine (provided that the font from the terminal actually contains those glyphs, of course).
    So you mean I can have en_US.UTF8 as locale but still write swedish letters? So the problem is with the font or somthing, not the locale?
    If you still have problems, post the output of:
    $ ls -l /etc/profile.d/locale.sh
    $ curl sprunge.us -F sprunge=@/etc/locale.gen
    $ curl sprunge.us -F sprunge=@/etc/locale.conf
    $ locale -a
    $ locale
    Well, I did as the guide told about locale.conf, it doesn't seem to work, even if "locale" outputs correct info now, but I'll try with restarting the X server too, just in case.....

  • GoToAndStop or Play on Frame Label with Video doesn't work?

    I have a video in a frame that corresponds with the label "eight".  i have a button on the timeline with the following code.  i've tried it both gotoAndStop and gotoAndPlay and it doesn't work.  thanks in advance for your suggestions.
    on (press) {
    gotoAndStop(eight);

    use:
    on (press) {
    gotoAndStop("eight");

Maybe you are looking for