Login / Location timeout?

I just encountered the following situation which prompted what I think is a really good question.
On my laptop, I have 3 locations set.
Automatic (default)
Home (Manually set up; lan uses 10.10.1.x)
Office (Manually set up; lan uses 20.20.1.x)
At home, Im using a mobile user account which authenticates to my Tiger 10.4.8 server.
When I'm at the office, I login with a local account on my laptop.
When I'm home, naturally, my location is switched to Home, since it has all my DNS info, etc, all setup in relation to my Tiger Server.
When I'm at the office, I switch to the 'Office' location, and I use the network info setup manually in the network system preferences. Here's where the problem showed up. My last use of the computer was at the office. When I finished, I logged out.
Now I'm at the login screen, and I arrived home. I logged in using my movile account's username and password and I was stuck eternally at the login screen because it couldn't connect/authenticate. It couldn't authenticate because I think its still trying to connect using the OFFICE location settings (which are set manually to a different lan; 20.20.1.x instead of 10.10.1.x).
Is there a solution to this? I mean, is the problem actually what I think it is as mentioned above or is it something else?
Also, is there a way to change location setup BEFORE you actually login? If not, is there a way to shorten the timeout (if there is one because it seemed like there is none).
It seems that Mac OS X should immediately notice that it can't connect and offer you other options (i.e. change location setups, etc)
Thanks in advance.

Hello,
are you sure that 225 is the correct line for the AUX port, that is, when you do a 'show line' what is the number for the AUX port ? You need to configure the commands under that line number, not the AUX port itself. Have a look at this sample configuration for details:
Asynchronous Connections
Configuring a Modem on the AUX Port for EXEC Dialin Connectivity
http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080094bbc.shtml
Regards,
Nethelper

Similar Messages

  • Keep client and language information for login after timeout

    Hello experts,
    i'm using the url parameters sap-client and sap-language that the user can login without them. The parameters are filled on a mobile device and on different plants these parameters are different. When the user logout with the logout button the method server->logoff( ) will be called in the main controller. Then a logout view will be called that redirect the user to the login page and fill the parameters into the url again.
    My problem is when a session timeout occurs or the session will be closed manually the login screen appears again after the next request, but with the default client and language.
    I'm looking for a way to fill these parameters when a timeout occurs.
    Thanks and best regards,
    Tobias

    I found a working solution for my problem. With the following code in the do_init method of my main controller, the url will be renewed right after the login:
    DATA: lv_url   TYPE string,
          lv_tmp   TYPE string,
          lv_laiso TYPE t002-laiso.
    lv_url = me->co_controller_name.
    lv_tmp = sy-mandt.
    CALL METHOD cl_http_server=>append_field_url
      EXPORTING
        name  = 'sap-client' ##NO_TEXT
        value = lv_tmp
      CHANGING
        url   = lv_url.
    CALL FUNCTION 'CONVERT_SAP_LANG_TO_ISO_LANG'
      EXPORTING
        input  = sy-langu
      IMPORTING
        output = lv_laiso.
    TRANSLATE lv_laiso TO LOWER CASE.
    lv_tmp = lv_laiso.
    CALL METHOD cl_http_server=>append_field_url
      EXPORTING
        name  = 'sap-language' ##NO_TEXT
        value = lv_tmp
      CHANGING
        url   = lv_url.
    CALL METHOD me->response->redirect
      EXPORTING
        url = lv_url.
    CALL METHOD me->navigation->response_complete.

  • Direct link to dedicated login location

    Hello!
    Is it possible to create direkt links to anyone of the locations
    (coerrct term; use German interface, "Standortprofile"?) I entered in
    the client's properties?
    To pick a location is easy. But we need temporary logins everyday in
    minimum twice (beside other standard logins), so these swtitching using
    the drop down menu is not so useful.
    My intention is to make this procedure faster.
    W98SE, last NW-Client
    -> In fact we use XP, too, this seems to be an inpolite cross-post in
    both NG's, but probably, the solution may be a different one.
    Makus Erich
    Know the past. In the ignorance of the past lies the ruin of the future.

    Markus,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • UCCX 7 SR5 agent login gives timeout - unable to connect to UCCX server

    Team - running high availability. The CAD login for UCCX 7 SR5 gives occasionally timeout errors.
    Unable to connect to UCCX server. What is the root cause of this?
    on CAD client PC based on Cisco recommendation
    C:\Program Files\Cisco\Desktop\config, we changed PhoneDev.cfg.
    added ->
    [ReqTimeout]
    Milliseconds=30000
    While this helped it still happens. Is this a bug you have seen?
    What could be done for the root cause.

    Hello,
    This happens because the CAD client software is timing out due to not receiving a response from the UCCX server in the configured and default
    10 seconds. Increasing the timeout alleviates the symptom, but the root cause could be slowness or connectivity problems between CUCM and AD. The default timeout between them is 30 seconds. You can check if you have an DC/GC down or not responsive or point your CUCM to authenticate to a local DC/GC, but definitely need to check on the CUCM / AD side.
    CSCta49259    CAD client timeout value not present in PhoneDev.cfg
    Symptom:
    Per MIVR logs CAD side is timing out and changes to the server-side properties did not resolve the issue.
    Conditions:
    UCCX 7.0(1) CAD
    Workaround:
    on CAD client PC
    C:\Program Files\Cisco\Desktop\config, there should be a file
    called PhoneDev.cfg.
    add ->
    [ReqTimeout]
    Milliseconds=30000
    save then restart the CAD client .
    HTH
    Pablo

  • How long ideal for setting login timeout

    Hi,
    My Consultant have a problem when setting configuration HR, a problem is login timeout. Now BASIS allready setting login timout is 1 hours, but before 1 hour, login is timeout. How to handle this problem and how to capture configuration HR before saving ?
    Regard's
    Rudy

    It is related to the basis , Might be your system is infected by a virus, chk.

  • JSF 1.2 Session Timeout Issue

    I am using using:
    JSF- Sun RI (1.2)
    Websphere (6.1)
    Facelets (1.?)
    RichFaces (3.3.2)
    I am having an issue with session timeouts that shows up in two different ways:
    Scenario 1) the client makes an ajax call after the session has timed out
    Scenario 2) the client makes a standard request after the session has timed out - navigating to a new page
    I seem to be able to address one or the other, but I can't seem to find a solution that fixes both scenarios.
    For Scenario 1, I have the client-side A4J.AJAX.onExpired function defined and that is currently working for session timeouts that are discovered via an ajax request.
    However, if I start making changes to try and address the other scenario, it seems to break the A4J javascript function.
    For Scenario 2, I have tried a number of suggestions that I've found online:
    1) I've tried to configure the error page in web.xml:
    <error-page>
         <exception-type>javax.faces.application.ViewExpiredException</exception-type>
         <location>/timeout.jsf</location>
    </error-page>
    However, anything I seem to try around this solution still winds up with a ViewExpiredException. I've tried to have timeout.jsf redirect to the login page and I get a ViewExpiredException on the login page when the redirect happens. I've tried to just render a timeout page with a link the user can click on to go to the login page and that fails as well.
    2) I've tried the phase listener and had little success too.
    3) I tried a NavigationHandler
    One thing I did have working, I believe, was with the phase listener approach, but I had a difficult time displaying a session timed out message upon redirect, but not the first time the user visited the page.
    I'm relatively new to JSF and probably don't understand the app life cycle well enough, I guess, but is there a solution that addresses all of these issues:
    1) works for AJAX calls
    2) works for actual navigation
    3) sends the user back to the login page with some indication as to "why", but gracefully handles the first visit to the login page (or a logout)
    Thanks for any suggestions you can offer.

    Sorry, but I have to disagree. Loading JavaScript at the beginning of your page would only make the page load slower (and "ruin" the user's experience when they see the page being loaded steadily) and also cause unforeseen issues than to leave it at the bottom of your page.
    Big companies like Google (1999), Yahoo (2000), Oracle (2001) and many others are doing the opposite to what you have said. Look at the way they load their JavaScripts and you'll see.
    It's also good practice to zip your content from the server before sending it to the client's web browser to increase performance. Of course, this will depend on whether your web browser supports methods such as gzip, deflate, etc... and whether you use HTTP or HTTPS.
    Lastly, another bad practice I often see Java programmers do is write the following all over the places:
    setString, setInt, setDouble, etcInstead of using an existing feature of Java to do the same in one procedure, as in:
    public static void setParameters(PreparedStatement preparedStatement, Object... values)
       throws SQLException
       for (int i = 0; i < values.length; i++) {
          preparedStatement.setObject(i + 1, values);
    Then just call *setParameters* whenever you need it instead of writing multiple setString, setInt, etc statements everywhere...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Cant change location due to Facebook. Moved USA to London, emailed Spotify, but no response! :(

    I have had this issue for ages since I moved to London. I log into spotify with my Facebook. I've listed on facebook that I live in London, but I guess because my facebooks origin is the USA before I moved, it thinks I'm still there. I've tried everything! Spotify doesn't work and says I'm abroad (14 day limit reached). No one from spotify responded to my 3 emails regarding this. Can someone at spotify PLEASE allow me to use their app again? I can't even charge for premium, because it is asking for a ZIP code in payments (5 digits) while in the UK it's a Post Code (Numerous letters + digits). Someone please help me use Spotify again! I feel helpless :(

    Please can someone at Spotify fix this? I'm sorry to keep bumping this but I really want to buy premium but my facebook login location isn't allowing me to use spotify or change my account location settings from the USA to London. 

  • Accessing MS Sql Server with Java classes - problem connecting to socket

    I found an example at this location which uses java classes to connected to MS Sql Server.
    http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
    --bummer - it is a login location - so I will include the article
    Anyway, the example is using Websphere, but I am still on Jbuilder (will get wsad soon). So I planted the classes from the example in
    C:\Borland\JBuilder\jkd1.4\jre\lib\ext\...the classes
    Then I copied the code from the example to my jpx project and got an error that it could not connect to the socket. The only thing I changed in the code was the connection string:
    --original string from example:
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
    I was getting an error with the 2 argument version of DriverManager - and the second argument here was empty (properties argument). Here was my connection string:
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
    I am only using the 1 argument version of DriverManager. Note that the password=" is blank because my RnD workstation is standalone - no one accesses the sql server except me - so no password. I also left out the last semicolon I noticed. Any suggestions appreciated how I could fix this.
    Thanks
    source of article:
    http://search400.techtarget.com/tip/1,289483,sid3_gci1065992,00.html
    iSeries 400 Tips:
    TIPS & NEWSLETTERS TOPICS SUBMIT A TIP HALL OF FAME
    Search for: in All Tips All search400 Full TargetSearch with Google
    PROGRAMMER
    Sample code: Accessing MS SQL Server database from the iSeries
    Eitan Rosenberg
    09 Mar 2005
    Rating: --- (out of 5)
    Nowadays with the help of Java the iSeries can be integrated with other databases quite easy. This tip shows you how. The code included here uses the free Microsoft driver that can be downloaded from here. (SQL Server 2000 Driver for JDBC Service Pack 3)
    If your SQL server does not include the Northwind Sample Database you can find it here.
    http://www.microsoft.com/downloads/details.aspx?familyid=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
    The download contains the following files:
    msbase.jar
    mssqlserver.jar
    msutil.jar
    Those files needs to be copied to the iSeries directories (/home/r_eitan/ExternalJARs).
    Here's the directory structure (on the iSeries) for this sample:
    /home/r_eitan/ExternalJARs - Microsoft files (msbase.jar,mssqlserver.jar,msutil.jar)
    /home/r_eitan/JdbcTest02 - My code (Main.java,Main.class)
    The Java code
    import java.sql.*;
    import java.io.*;
    class Main {
    * Connect to Microsoft SQL server and download file northWind.products as tab
    * seperated file. (products.txt)
    public static void main(String args[]) {
    try {
    PrintStream outPut = new PrintStream(new BufferedOutputStream(new FileOutputStream("products.txt")));
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    //Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://1433", "");
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Myserver:1433;User=sa;Password=");
    System.out.println("Connection Done");
    connection.setCatalog("northWind");
    String sqlCmdString = "select * from products";
    Statement statement = connection.createStatement();
    ResultSet resultSet = statement.executeQuery(sqlCmdString);
    ResultSetMetaData resultSetMetaData = resultSet.getMetaData();
    int columnCount = resultSetMetaData.getColumnCount();
    // Iterate throught the rows in resultSet and
    // output the columns for each row.
    while (resultSet.next()) {
    for (int index = 1; index <=columnCount; ++index)
    String value;
    switch(resultSetMetaData.getColumnType(index))
    case 2 :
    case 3 :
    value = resultSet.getString(index);
    break;
    default :
    value = """ + resultSet.getString(index) + """;
    break;
    outPut.print(value + (index < columnCount ? "t" : ""));
    outPut.println();
    outPut.close();
    resultSet.close();
    connection.close();
    System.out.println("Done");
    catch (SQLException exception)
    exception.printStackTrace();
    catch (Exception exception)
    exception.printStackTrace();
    --------------------------------------------------------------------------------------------------

    My guess is that the server's host name isn't right. It necessarily (or even usually) the "windows name" of the computer. Try with the numeric IP address instead (type "ipconfig" to see it).
    First aid check list for "connection refused":
    - Check host name in connect string.
    - Check port number in connect string.
    - Try numeric IP address of server host in connect string, in case name server is hosed.
    - Are there any firewalls between client and server blocking the port.
    - Check that the db server is running.
    - Check that the db server is listening to the port. On the server, try: "telnet localhost the-port-number". Or "netstat -an", there should be a listening entry for the port.
    - Try "telnet serverhost the-port-number" from the client, to see if firewalls are blocking it.
    - If "telnet" fails: try it with the numeric ip address.
    - If "telnet" fails: does it fail immediately or after an obvious timeout? How long is the timeout?
    - Does the server respond to "ping serverhost" or "telnet serverhost" or "ssh serverhost"?

  • Permission errors cannot be fixed

    I used RDC from my snow leopard laptop to win2003 server.
    It's fine in most cases but sometimes it doesn't show the remote desktop after successfully login (or timeout re-login ) . When that happened, I can only force quite the app.
    It's funny I got disk permission problems, and I don't know how hurt that would be and how to fix them. I even don't know if it's related to MS Remote Desktop Client. I really don't know any other possible causes...
    Verify permissions for “OSX”
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Italian.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/Italian.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/zh_TW.lproj/RemoteDesktopMenu.nib" , should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_TW.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/zh_TW.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/zh_CN.lproj/RemoteDesktopMenu.nib" , should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_CN.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/zh_CN.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/ko.lproj/RemoteDesktopMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/ko.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/ko.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/Dutch.lproj/RemoteDesktopMenu.nib" , should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Dutch.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/Dutch.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/Italian.lproj/RemoteDesktopMenu.ni b", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/Italian.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/Spanish.lproj/RemoteDesktopMenu.ni b", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Spanish.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/Spanish.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/French.lproj/RemoteDesktopMenu.nib ", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/French.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/French.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/German.lproj/RemoteDesktopMenu.nib ", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/German.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/German.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/Japanese.lproj/RemoteDesktopMenu.n ib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Japanese.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/Japanese.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/English.lproj/RemoteDesktopMenu.ni b", should be drwxr-xr-x , they are -rw-r--r-- .
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rw-r--r-- .
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rw-r--r-- .

    As long as the report ends up with 'Permissions repair complete' then, as far as permissions go, you are fine. You can ignore the various statements in the report:
    Permissions you can ignore on 10.5 and 10.6:
    http://support.apple.com/kb/TS1448
    Using 'should be -rw-r--r-- , they are lrw-r--r--' as an example, you will see the that the permissions are not changed, but the | indicates a different location. This is because an update to Leopard changed the location of a number of system components.
    Poster rccharles has provided this description of what it all means:
    drwxrwxrwx
    d = directory
    r = read
    w = write
    x = executeable program
    drwxrwxrwx
    |  |  |
    |  |   all other users not in first two types
    |  | 
    |  group

    owner
    a little more info
    Before the user had read & write. A member of the group had read.
    After, only the user had read & write.

  • Multi level attribute form LDAP

    multi level attribute form LDAP
    I am trying to write an custom mapping to use to retrieve a value from a multialued field in LDAP (nsRole). Has anyone done this before?
    Rigth now all my mappings are 1:1. However the goal is to get a 1 : M and parse thru it till i get the desied value (1:1)

    Darwin Hammons - Assurant 
    2:44pm, May 17 
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Great conversation. I have a very similar question about the use of the custom JAVA mappings with the LDAP Login process. I want to include an additional (event) step in the login process. Does anyone have an example or experience with a custom Java Class mapping that can use an LDAP attribute (location)  queriing the data to execute an event that populates an RequestCenter OU or Group if the person login location equal say " Argentina" ? Looking for a way to manage / build catalog entitlements during login. Suggestions ?
    Anthony Erickson
    2:52pm, May 18  
    Hi Darwin,
    We're about to embark on a piece of work with newScale which would be similar to this to support our Multilingual catalogue.  I'll provide any updates I'm able. 
    Thanks,
    Ant 
    Darwin Hammons - Assurant 
    3:25pm, May 18 
    Great, Thanks Anthony ! I hope our bringing up this topic will spark a bit of interest. The Custom Java Mapping  / Directory integration is documented more with RC 9.1. It will be good to hear more about your project and use of Java mappings with LDAP Directories. 

  • Error with HeaderiView.jsp file

    Hi there,
    I took the masthead par file from the portal and I did some changes in the HeaderiView.jsp. When I try the iview in the preview I see the next error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/pruebasjanet/ZiwImage/zprueba54
    Component Name : prueba1701.default
    Error occurs during the rendering of jsp component.
    Exception id: 10:14_06/09/07_0075_33099350
    See the details for the exception ID in the log file
    I already added the com.sap.portal.navigation.mastheadapi.jar in \PORTAL-INF\lib
    and com.sap.portal.navigation.masthead_core.jar \PORTAL-INF\private\lib.
    Any help would be greatly appreciated!
    Jeanette

    Hi Malini,
    Yes, I did some changes in Jsp file. I'm trying to make a copy of the Help Link. I copied all the components in the portalapp.xml (only changes, for example, <property name="ShowHelpLink" value="true">    <property name="ShowSiteLink" value="true">)
    Would you please help me checking the code?
    Thanks.
    Jeanette
    With the jsp file I have problems:
    <%@ page import = "java.util.ResourceBundle" %>
    <%@ page import = "com.sapportals.htmlb.*" %>
    <%@ page import = "com.sapportals.portal.prt.session.IUserContext" %>
    <%@ page import = "com.sapportals.portal.prt.component.*" %>
    <%@ page import = "com.sapportals.portal.prt.service.laf.*" %>
    <%@ page import = "com.sap.security.api.UMFactory" %>
    <%@ page import = "com.sapportals.portal.prt.service.license.ILicenseService"%>
    <%@ page import = "com.sapportals.portal.navigation.*" %>
    <%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>
    <%@ page import = "com.sapportals.portal.prt.util.StringUtils" %>
    <%@ taglib uri="prt:taglib:tlhtmlb" prefix="hbj" %>
    <%!
    final String PERSONALIZE_PAGE_EVENT_URN = "urn:com.sapportals:navigation";
    final String PERSONALIZE_PAGE_EVENT_NAME = "PersonalizePage";
    final String PERSONALIZE_PAGE_EVENT_PARAMS = "";
    final String PERSONALIZE_PORTAL_EVENT_URN = "urn:com.sapportals:navigation";
    final String PERSONALIZE_PORTAL_EVENT_NAME = "PersonalizePortal";
    final String PERSONALIZE_PORTAL_EVENT_PARAMS = "";
    final String LOGOFF_CONFIRM_MSG_COMPONENT = "logoffConfirmMsg";
    final String LOGON_REDIRECT_COMPONENT = "logInComponent";
    final String LOGOFF_REDIRECT_COMPONENT = "LogOutComponent";
    final String LOGOFF_CONFIRM_MSG_ARGS_IE = "dialogHeight: 170px; dialogWidth: 350px; edge: Raised; center: Yes; help: No; resizable: No; status: No";
    final String LOGOFF_CONFIRM_MSG_ARGS_NS = "Height=170,Width=350";
    final String LOGOFF_CONFIRM_WINDOW_NAME = "LOG_OFF_WINDOW";
    final String HELP_URL = "HelpUrl";
    final String SITE_URL = "SiteUrl";
    final String HELP_WINDOW_NAME = "HELP_WINODW";
    final String SITE_WINDOW_NAME = "SITE_WINODW";
    final String SHOW_PERSONALIZE_LINK = "ShowPersonalizeLink";
    final String SHOW_HELP_LINK = "ShowHelpLink";
    final String SHOW_SITE_LINK = "ShowSiteLink";
    final String SHOW_NEW_WINDOW_LINK = "ShowNewWindowLink";
    final String SHOW_LOG_OFF_LOG_ON_LINK = "ShowLogInLogOffLink";
    //String constants for NLS
    final String WELCOME_CLAUSE = "WELCOME_CLAUSE";
    final String HELP_TEXT = "HELP_TEXT";
    final String SITE_TEXT = "SITE_TEXT";
    final String LOG_OFF_TEXT = "LOG_OFF_TEXT";
    final String LOG_ON_TEXT = "LOG_ON_TEXT";
    final String PERSONALIZE_TEXT = "PERSONALIZE_TEXT";
    final String PERSONALIZE_PORTAL_TEXT = "PERSONALIZE_PORTAL_TEXT";
    final String NEW_WINDOW_TEXT = "NEW_WINDOW_TEXT";
    final String HELP_TOOLTIP = "HELP_TOOLTIP";
    final String SITE_TOOLTIP = "SITE_TOOLTIP";
    final String LOG_OFF_TOOLTIP = "LOG_OFF_TOOLTIP";
    final String LOG_ON_TOOLTIP = "LOG_ON_TOOLTIP";
    final String PERSONALIZE_TOOLTIP = "PERSONALIZE_TEXT";
    final String PERSONALIZE_PORATL_TOOLTIP = "PERSONALIZE_PORATL_TOOLTIP";
    final String NEW_WINDOW_TOOLTIP = "NEW_WINDOW_TOOLTIP";
    final String BEGINNING_OF_PAGE = "BEGINNING_OF_PAGE";
    final String MASTHEAD_ENTER_TOOLTIP = "MASTHEAD_ENTER_TOOLTIP";
    final String MASTHEAD_EXIT_TOOLTIP = "MASTHEAD_EXIT_TOOLTIP";
    final String UNLOAD_MSG = "UNLOAD_MSG";
    private String GetWelcomeMsg(IPortalComponentRequest request, String welcomeClause)
    IUserContext userContext = request.getUser();
    if (userContext != null)
    String firstName = userContext.getFirstName();
    String lastName = userContext.getLastName();
    String salutation = userContext.getSalutation();
    if ((firstName != null) && (lastName != null))
    if(salutation != null)
    return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
    else
    return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
    else
    return java.text.MessageFormat.format(welcomeClause, new Object[] {userContext.getDisplayName()," ", " "}).toString();
    return "";
    private String GetLicenseText(IPortalComponentRequest request){
    ILicenseService license = (ILicenseService)request.getService(ILicenseService.KEY);
    if (license.sapInternalUsageOnly())
    return "<FONT color=orangeRed size=4><STRONG> Licensed For SAP Internal Usage</STRONG></FONT>";
    else
    return " ";
    private boolean getParameter(IPortalComponentRequest request, String param)
    String value = (String)request.getNode().getValue(param);
    return new Boolean(value).booleanValue();
    private String getHelpUrl(IPortalComponentRequest request)
    String value = (String)request.getNode().getValue(HELP_URL);
    return value;
    private String getSiteUrl(IPortalComponentRequest request)
    String value = (String)request.getNode().getValue(SITE_URL);
    return value;
    private String GetLogoffConfirmMsgURL(IPortalComponentRequest request)
    String componentName = request.getComponentContext().getComponentName();
    componentName = componentName.substring(0, componentName.lastIndexOf(".") + 1);
    IPortalComponentURI msgURI = request.createPortalComponentURI();
    msgURI.setContextName(componentName + LOGOFF_CONFIRM_MSG_COMPONENT);
    return msgURI.toString();
    // Attaching the "UnsavedData=true" flag to the Confirm logoff message
    private String GetLogoffConfirmUnsavedMsgURL(IPortalComponentRequest request)
    String basicUrl = GetLogoffConfirmMsgURL(request);
    String separator = (basicUrl.indexOf("?") >=0) ? "&" : "?";
    return basicUrl + separator + "UnsavedData=true";
    private String GetLogoffURL(IPortalComponentRequest request)
    /*IPortalComponentURI logoffURI = request.createPortalComponentURI();
    return logoffURI.toString();*/
    String componentName = request.getComponentContext().getComponentName();
    componentName = componentName.substring(0, componentName.lastIndexOf(".") + 1);
    IPortalComponentURI msgURI = request.createPortalComponentURI();
    msgURI.setContextName(componentName + LOGOFF_REDIRECT_COMPONENT);
    return msgURI.toString();
    private boolean isAccessabilityOn(IPortalComponentRequest request)
    //End: Temporary, till there's a way to set the accessibility for a user
    IUserContext user = request.getUser();
    //if((user.getAccessibilityLevel() != IUserContext.DEFAULT_ACCESSIBILITY_LEVEL) ||(isAccessibility == true) ) // 508 is on
    if (user.getAccessibilityLevel() != IUserContext.DEFAULT_ACCESSIBILITY_LEVEL) // 508 is on
    return true;
    return false;
    private String GetLoginURL(IPortalComponentRequest request)
    INavigationGenerator navigationService = (INavigationGenerator)PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);
    StringBuffer URL = new StringBuffer(200).append(navigationService.getPortalURL(request , null));
    return URL.append("/login").toString();
    private String GetPortalUrl(IPortalComponentRequest request)
    INavigationGenerator navigationService = (INavigationGenerator)PortalRuntime.getRuntimeResources().getService(INavigationService.KEY);
    return navigationService.getPortalURL(request , null);
    private String getNLSString(IPortalComponentRequest request, String resource_key)
    try
    ResourceBundle bundle = request.getResourceBundle();
    if(bundle != null)
    return bundle.getString(resource_key);
    return resource_key;
    catch(MissingResourceException e)
    return resource_key;
    private String GetThemeURLPath(IPortalComponentRequest request)
    ILAFService iLAFService = (ILAFService)request.getService(ILAFService.KEY);
    String currentTheme = iLAFService.getCurrentTheme(request).getThemeName();
    String url = iLAFService.getRelativeThemeRootURLPath(request, ILAFService.PORTAL_THEME) + "/" + currentTheme + "/prtl";
    return url;
    //Get the external logoff URL
    private String getExternalLogOffUrl()
    return UMFactory.getProperties().get("ume.logoff.redirect.url");
    //Get the external logoff Mode (silent / not silent)
    private boolean getExternalLogOffMode()
    return UMFactory.getProperties().getBoolean("ume.logoff.redirect.silent" , false);
    private boolean isAnonymous(IPortalComponentRequest request)
    NavigationEventsHelperService helperService = (NavigationEventsHelperService)
    PortalRuntime.getRuntimeResources().getService(NavigationEventsHelperService.KEY);
    return helperService.isAnonymousUser(request);
    %>
    <%
    boolean isPreview = false;
    // initializaing the labels with the localized labels
    String welcomeClauseStr = getNLSString(componentRequest, WELCOME_CLAUSE);
    String helpTextStr = getNLSString(componentRequest, HELP_TEXT);
    String siteTextStr = getNLSString(componentRequest, SITE_TEXT);
    String logOffTextStr = getNLSString(componentRequest, LOG_OFF_TEXT);
    String logInTextStr = getNLSString(componentRequest, LOG_ON_TEXT);
    String personalizeTextStr = getNLSString(componentRequest, PERSONALIZE_TEXT);
    String newWindowTextStr = getNLSString(componentRequest, NEW_WINDOW_TEXT);
    String helpTooltipStr = getNLSString(componentRequest, HELP_TOOLTIP);
    String siteTooltipStr = getNLSString(componentRequest, SITE_TOOLTIP);
    String logOffTooltipStr = getNLSString(componentRequest, LOG_OFF_TOOLTIP);
    String logInTooltipStr = getNLSString(componentRequest, LOG_ON_TOOLTIP);
    String personalizeTooltipStr = getNLSString(componentRequest, PERSONALIZE_TOOLTIP);
    String personalizePortalTooltipStr = getNLSString(componentRequest, PERSONALIZE_PORATL_TOOLTIP);
    String beginningOfPageStr = getNLSString(componentRequest, BEGINNING_OF_PAGE);
    String newWindowStr = getNLSString(componentRequest, NEW_WINDOW_TOOLTIP);
    String mastheadEnterTable = getNLSString(componentRequest, MASTHEAD_ENTER_TOOLTIP);
    String mastheadExitTable = getNLSString(componentRequest, MASTHEAD_EXIT_TOOLTIP);
    String unLoadMsg = getNLSString(componentRequest, UNLOAD_MSG);
    boolean showPersonalizeLink = getParameter(componentRequest, SHOW_PERSONALIZE_LINK);
    boolean showHelpLink = getParameter(componentRequest, SHOW_HELP_LINK);
    boolean showSiteLink = getParameter(componentRequest, SHOW_SITE_LINK);
    boolean showNewWindowLink = getParameter(componentRequest, SHOW_NEW_WINDOW_LINK);
    boolean ShowLogInLogOffLink = getParameter(componentRequest, SHOW_LOG_OFF_LOG_ON_LINK);
    String mode = (String)componentRequest.getNode().getValue("mode");
    if ((mode != null) && (mode.equals("preview")))
    isPreview = true;
    String themeRootURLPath = GetThemeURLPath(componentRequest);
    boolean isAnonymous = isAnonymous(componentRequest);
    boolean isAccessabilityOn = isAccessabilityOn(componentRequest);
    if (isAccessabilityOn)
    helpTooltipStr = helpTextStr", "helpTooltipStr;
    siteTooltipStr = siteTextStr", "siteTooltipStr;
    logOffTooltipStr = logOffTextStr", "logOffTooltipStr;
    logInTooltipStr = logInTextStr", "logInTooltipStr;
    newWindowStr = newWindowTextStr", "newWindowStr;
    personalizePortalTooltipStr = personalizeTextStr", "personalizePortalTooltipStr;
    %>
    <script>
    function openLogoffMsg()
    <%if (!isPreview){%>
    if (EPCM.getUAType() == EPCM.MSIE)
    releaseProducerSessions();
    if(EPCM.getGlobalDirty())
    // unsaved data on the page, display modified dialog
    var val = window.showModalDialog('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
    if (val == 'logoff')
    disableWorkProtectCheck = true;
    logoff();
    else //no unsaved data
    // data saved, nothing get lost on the page, display normal dialog
    var val = window.showModalDialog('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '', '<%=LOGOFF_CONFIRM_MSG_ARGS_IE%>');
    if (val == 'logoff')
    logoff();
    else
    if(EPCM.getGlobalDirty())
    window.open('<%=GetLogoffConfirmUnsavedMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
    else
    window.open('<%=GetLogoffConfirmMsgURL(componentRequest)%>', '<%=LOGOFF_CONFIRM_WINDOW_NAME%>', '<%=LOGOFF_CONFIRM_MSG_ARGS_NS%>');
    <%}%>
    var isLogoffFinalAllowed = true;
    var logoffStartTime = (new Date).getTime();
    function logoff()
    EPCM.raiseEvent("urn:com.sapportals.portal:user", "logoff", "");
    logoffStartTime = (new Date).getTime();
    window.setTimeout("logoffDelay()", "50");
    function logoffDelay()
    var isLogoffDelayElapsed = ((new Date).getTime() - logoffStartTime) > (60*1000);
    if(isLogoffFinalAllowed || isLogoffDelayElapsed) {
    logoffFinalCall();
    } else {
    window.setTimeout("logoffDelay()","50");
    function logoffFinalCall()
    logoffThirdParty();
    document.forms["logoffForm"].submit();
    function logIn()
    location.replace("<%=GetLoginURL(componentRequest)%>");
    function runPersonalizePage()
    EPCM.raiseEvent("<%=PERSONALIZE_PAGE_EVENT_URN%>", "<%=PERSONALIZE_PAGE_EVENT_NAME%>", "<%=PERSONALIZE_PAGE_EVENT_PARAMS%>");
    function runPersonalizePortal()
    <%if (!isPreview){%>
    EPCM.raiseEvent("<%=PERSONALIZE_PORTAL_EVENT_URN%>", "<%=PERSONALIZE_PORTAL_EVENT_NAME%>", "<%=PERSONALIZE_PORTAL_EVENT_PARAMS%>");
    <%}%>
    function onPersonalizePortalDisable()
    var linkElem = document.getElementById("personalizePortal");
    var linkSepElem = document.getElementById("personalizePortalSep");
    var linkLogoffSepElem = document.getElementById("logoffsep1");
    if(linkElem != null)
    linkElem.style.display = "none";
    if(linkSepElem != null)
    linkSepElem.style.display = "none";
    if(linkLogoffSepElem != null)
    linkLogoffSepElem.style.display = "none";
    EPCM.subscribeEvent("urn:com.sapportals:navigation", "PersonalizePortalDisable", onPersonalizePortalDisable);
    function openNewPortalWindow()
    <%if (!isPreview){%>
    var navTarget = EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue().URL;
    var context = EPCM.getSAPTop().gHistoryFrameworkObj.GetActiveTrackingEntryValue().context;
    if (context != null && context.length > 0)
    EPCM.doNavigate(navTarget, 2, null, null, null, null, context);
    else
    EPCM.doNavigate(navTarget, 2);
    <%}%>
    function openHelp()
    <%if (!isPreview){%>
    window.open('<%=getHelpUrl(componentRequest)%>', '<%=HELP_WINDOW_NAME%>');
    <%}%>
    function openSite()
    <%if (!isPreview){%>
    window.open('<%=getSiteUrl(componentRequest)%>', '<%=SITE_WINDOW_NAME%>');
    <%}%>
    function setFocusOnHeader() {
    var melcomeMessage = document.getElementById("welcome_message");
    var headerNotch = document.getElementById("header_notch");
    if(EPCM.getUAType()==EPCM.MOZILLA) {
    // No focus
    } else {
    if(melcomeMessage!=null && melcomeMessage.currentStyle.display!="none") {
    melcomeMessage.focus();
    } else if(headerNotch!=null && headerNotch.currentStyle.display!="none") {
    headerNotch.focus();
    function logoffThirdParty()
    <% if(getExternalLogOffUrl()!= null){ %>
    var logOffUrl = '<%=getExternalLogOffUrl()%>';
    var silent = <%=getExternalLogOffMode()%>;
    if(silent)
    var newIFrame = document.getElementById("externalLogOffIframe");
    if(newIFrame == null)
    newIFrame = document.createElement("IFRAME");
    newIFrame.style.visibility = "hidden";
    newIFrame.width=0;
    newIFrame.height=0;
    newIFrame.id = "externalLogOffIframe";
    newIFrame.src = logOffUrl;
    document.body.appendChild(newIFrame);
    else
    newIFrame.src = "javascript:void(0)";
    newIFrame.src = logOffUrl;
    <% } %>
    </script>
    <hbj:content id="PageContext">
    <hbj:page title="Header Area">
    <hbj:form id="HeaderForm" >
    <!--<a href="#" tabindex=0 title= "<%=beginningOfPageStr%>" accesskey="m">
    <img src="<%=themeRootURLPath%>/../common/1x1.gif" border="0" style="display:none">
    </a>-->
    <% if (isAccessabilityOn)
    {%>
    <TABLE width="100%" border="0" id="myTable" ti="0" tabindex="0" title="<%=mastheadEnterTable%>" onkeydown="nav_skip('myTable',event)" ct="PortalMasthead" cellspacing="0" cellpadding="0" ><% if (isPreview) {%>ondragover="window.event.cancelBubble = true;" ondragleave="window.event.cancelBubble = true;"<%}%>>
    <%} else
    {%>
    <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="prtlHdrWhl" id="myTable" ti="0" tabindex="0" onkeydown="nav_skip('myTable',event)" ><% if (isPreview) {%>ondragover="window.event.cancelBubble = true;" ondragleave="window.event.cancelBubble = true;"<%}%>>
    <%}%>
    <tbody>
    <TR>
    <TD width="1%" nowrap class="prtlHeaderNotch" id="header_notch"> </TD>
          <TD width="5%" nowrap class="prtlHdrWelcome" id="welcome_message" ti="0" tabIndex="0"><%=StringUtils.escapeToHTML(GetWelcomeMsg(componentRequest, welcomeClauseStr))%></TD>
    <TD width="3%" nowrap class="prtlHdrWelcome" id="welcome_message" ti="1" tabIndex="1">
    <SCRIPT LANGUAGE="JavaScript">
    var months=new Array(13);
    months[1]="January";
    months[2]="February";
    months[3]="March";
    months[4]="April";
    months[5]="May";
    months[6]="June";
    months[7]="July";
    months[8]="August";
    months[9]="September";
    months[10]="October";
    months[11]="November";
    months[12]="December";
    var time=new Date();
    var lmonth=months[time.getMonth() + 1];
    var date=time.getDate();
    var year=time.getYear();
    if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))
    year="19" + year;
    if (navigator.appName == "Netscape")
    year=1900 + year;
    document.write("<center>" + lmonth + " ");
    document.write(date + ", " + year + "</center>");
    </SCRIPT>
    </TD>
    <% if (showSiteLink || showHelpLink || showPersonalizeLink || showNewWindowLink || ShowLogInLogOffLink)
    {%>
    <TD width="79%" class="prtlHeaderFunctionsTable">
    <TABLE border="0" cellspacing="0" cellpadding="0"
    class="prtlHeaderFunctionsContainer" height="100%">
    <TR>
    <TD nowrap >
    <!--<hbj:link id="SiteLink" tooltip="<%=siteTooltipStr%>" linkDesign="FUNCTION" reference="javascript:openSite();"><hbj:textView nested="true" text="<%=siteTextStr%>"/></hbj:link> -->
    <hbj:link id="SiteLink" tooltip="<%=siteTooltipStr%>"
    linkDesign="FUNCTION" reference="#">
    <% if (!isPreview) { SiteLink.setOnClientClick("javascript:openSite();");} %>
    <hbj:textView nested="true" text="<%=siteTextStr%>"/>
    </hbj:link>
    </TD>
                <TD nowrap>
                  <%}%>
    <%
    if (showHelpLink)
    { %>
    <TD nowrap >
    <!--<hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>" linkDesign="FUNCTION" reference="javascript:openHelp();"><hbj:textView nested="true" text="<%=helpTextStr%>"/></hbj:link> -->
    <hbj:link id="HelpLink" tooltip="<%=helpTooltipStr%>"
    linkDesign="FUNCTION" reference="#">
    <% if (!isPreview) { HelpLink.setOnClientClick("javascript:openHelp();");} %>
    <hbj:textView nested="true" text="<%=helpTextStr%>"/>
    </hbj:link>
    </TD>
                <TD nowrap>
                  <%}%>
                  <%
    if (!isAnonymous)
    if (showPersonalizeLink)
    if (showHelpLink)
    { %>
                <TD nowrap id="personalizePortalSep" class="prtlHdrSep"></TD>
    <%} %>
    <TD nowrap id="personalizePortal">
    <hbj:link id="PersonalizeLink"
    tooltip="<%=personalizePortalTooltipStr%>"
    linkDesign="FUNCTION"
    reference="#">
    <% if (!isPreview) {PersonalizeLink.setOnClientClick("javascript:runPersonalizePortal();");}%>
    <hbj:textView nested="true" text="<%=personalizeTextStr%>"/>
    </hbj:link>
    </TD>
    <TD nowrap></TD>
    <%}
    if (showNewWindowLink)
    if (showHelpLink || showPersonalizeLink)
    { %>
    <TD nowrap id="newWindowSep" class="prtlHdrSep"> </TD>
    <%}
    else
    {%>
    <TD nowrap> </TD>
    <%}%>
    <TD nowrap id="newWindow">
    <hbj:link id="newWindowLink" tooltip="<%=newWindowStr%>"
    linkDesign="FUNCTION"
    reference="#">
    <% if (!isPreview) {newWindowLink.setOnClientClick("javascript:openNewPortalWindow();");}%>
    <hbj:textView nested="true" text="<%=newWindowTextStr%>"/>
    </hbj:link>
    </TD>
    <%}%>
    <%}%>
    <TD>
    <%if (ShowLogInLogOffLink)
    {%>
    <TABLE cellspacing="0" cellpadding="0" border="0" class="prtlHeaderFunctionsContainer" height="100%">
    <TR><%
    if (showHelpLink || showPersonalizeLink || showNewWindowLink)
    {%>
    <%
    if(!showHelpLink && !showNewWindowLink)
    {%>
    <TD nowrap id="logoffsep1" class="prtlHdrSep"> </TD>
    <%
    }else
    {%>
    <TD nowrap id="logoffsep2" class="prtlHdrSep"> </TD>
    <%}%>
                      <TD nowrap>
                        <%
    }else
    {%>
                      <TD nowrap >  </TD>
    <%
    if (isAnonymous)
    {%>
                      <TD nowrap>
                        <!<hbj:link id="LoginLink" tooltip="<%=logInTooltipStr%>" linkDesign="FUNCTION" reference="javascript:logIn();"><hbj:textView nested="true" text="<%=logInTextStr%>"/></hbj:link>>
                        <hbj:link id="LoginLink"
    tooltip="<%=logInTooltipStr%>"
    linkDesign="FUNCTION"
    reference="#">
                        <% LoginLink.setOnClientClick("javascript:logIn();"); %>
                        <hbj:textView nested="true" text="<%=logInTextStr%>"/> </hbj:link>
                      </TD>
    <%}
    else
    {%>
                      <TD nowrap>
                        <!<hbj:link id="LogoffLink" tooltip="<%=logOffTooltipStr%>" linkDesign="FUNCTION" reference="javascript:openLogoffMsg();"><hbj:textView nested="true" text="<%=logOffTextStr%>"/></hbj:link>>
                        <hbj:link id="LogoffLink"
    tooltip="<%=logOffTooltipStr%>"
    linkDesign="FUNCTION"
    reference="#">
                        <%if (!isPreview) { LogoffLink.setOnClientClick("javascript:openLogoffMsg();");} %>
                        <hbj:textView nested="true" text="<%=logOffTextStr%>"/> </hbj:link>
                      </TD>
    <%}%>
    </TR>
    </TABLE>
    <%} %>
    </TD>
    </TR>
    </TABLE>
    </TD>
    <%}%>
          <TD width="12%" nowrap class="prtlHdrLogoContainer">
            <% if (isAccessabilityOn)
    {%>
            <%}%>
          </TD>
    </TR>
    </tbody>
    </TABLE>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    <form name="logoffForm" style="display:none;position:absolute;top:-5000;left:-5000" action="<%=GetLogoffURL(componentRequest)%>" method="POST">
      <input type="hidden" name="logout_submit" value="true">
    </form>
    <script>
    <% if (!isPreview) {%>
    if (disablePersonalize) {
    EPCM.raiseEvent("urn:com.sapportals:navigation", "PersonalizePortalDisable", "");
    <%}%>
    setFocusOnHeader();
    EPCM.subscribeEvent("urn:com.sapportals.portal:browser","load",setFocusOnHeader);
    </script>

  • CUCM 8.6 TSP issue

    Hi,
    I've trouble making the TSP connection to a CUM 8.6 cluster.
    I am using windows 7 64 Bit PC and installed the "CiscoTSPx64.exe" as a fresh, did a reboot and configured the required paramenters (CTI Server/Username PWD).
    When I use dialer.exe, I don't see Cisco line available. When I go to install the WAVE driver, I don't see WAVE folder created. I searched for OEMSETUP.INF, couldn't find it anywhere.
    I put the TSP client in trace mode which generated the output mentioned below. I am sure my username/pwd is correct as I can login to CUCMUSER webpage from the same PC.
    I've tried installing TSP plugin from following CUCM versions:
    CUCM version: 8.6.2.22900-9
    CUCM Version: 8.6.2.20000-2
    When I install 32 bit TSP client, I do see WAVE folder created but when I try to install it, it throws an error saying this application is not supported on 64bit OS.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    16:13:32.730 HDR|10/22/2012 CiscoTSP001.tsp,Special
    16:13:32.730 |   ProviderOpenRequest::qbeTraceOut seq# =0x00000005
    16:13:32.731 |   ProviderOpenRequest::qbeTraceOut {{0x00000104, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x00000003, 0x00000020, 0x0000006C, 0x00000080}
    16:13:32.731 |   ProviderOpenRequest::qbeTraceOut
            ProviderName             : {0x0000008C, 18, CiscoTSP 8.6(2.7) }
            LoginUserID              : {0x000000B0, 10, 5, 2, katr }
            ApplicationID            : {0x000000EA, 25, CiscoTSP001-172.20.40.26 }
            QBEClientVersion         : {0x0000009E, 18, CiscoTSP 8.6(2.7) }
            ProviderEventFilter = {0x000000DA, 16, 4} :
                {bDeviceRegistered: 0xFFFFFFFF, bDeviceUnRegistered: 0xFFFFFFFF, bDirectoryChangeNotify: 0xFFFFFFFF, bDeviceConfigChangedNotify: 0xFFFFFFFF}
            WantServerHeartbeat     : 0x0000001E
            CMAssignedApplicationID : 0x00000000
            PluginName              : {0x00000103, 9, CiscoTSP }
            bLightWeightProviderOpen: 0x00000000
            SingleSignOnTicket      : {0x00000000, 0, }
            AuthenticationType      : 0
            bOldDeviceLineFetch     : 0x00000000
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn seq# =0x00000005 result =0x00000000
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn {{0x0000008B, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x00000004, 0x00000020, 0x00000034, 0x0000003F}
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn
            Result          : 0x00000000
            ProviderInfo    : {0x00000054, 14, 8.6.2.20000-2 }
            ClientHeartbeat : 30
            ServerHeartbeat : 30
            PluginVersion   : {0x00000062, 10, 8.6.2.2-0 }
            PluginLocation  : {0x0000006C, 39,
    http://10.1.10.10/plugins/CiscoTSP.exe
            dwProviderId    : 117440522
            bisFIPSEnabled  : 0x00000000
    16:13:42.886 |   ProviderOpenCompletedEvent::qbeTraceIn {{0x00000091, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x0000007E, 0x00000020, 0x00000048, 0x00000032}
    16:13:42.887 |   ProviderOpenCompletedEvent::qbeTraceIn
            Reason           : 0x8CCC0075
            SequenceNumber   : 5
            ProviderInfo     : {0x00000068, 14, 8.6.2.20000-2 }
            ClientHeartbeat  : 0
            ServerHeartbeat  : 0
            Description      : {0x00000076, 33, Directory login failed - timeout }
            bMonitorCallPark : 0
            ProviderId       : 117440522
            DSCPForCTI2Apps  : 0x00000000
            bEnableIpv6      : 0x00000000
            unicodeUserID    : {0x00000098, 2, 1, 2,  }
            daysPswdToExp    : 4294967295
            totalDevices  : 775040566
    16:13:42.887 |   CQBEHelperBase::ProviderOpen() *ERROR* Provider open failed.  result=-1932787595
    16:13:42.887 |   ProviderClosedEvent::Trace
            dummyHeader.dwLen =28
            dummyHeader.dwType =0
            dwMagicCookie =0xFFFFDDDD
            dwProtocolVersion =0x000D0001
            dwPDUNumber =155
            dwHeaderSize =32
            dwFixedSize =4
            dwVariableSize =0
    16:13:42.887 |   ProviderClosedEvent::Trace
    16:13:32.730 HDR|10/22/2012 CiscoTSP001.tsp,Special
    16:13:32.730 |   ProviderOpenRequest::qbeTraceOut seq# =0x00000005
    16:13:32.731 |   ProviderOpenRequest::qbeTraceOut {{0x00000104, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x00000003, 0x00000020, 0x0000006C, 0x00000080}
    16:13:32.731 |   ProviderOpenRequest::qbeTraceOut
            ProviderName             : {0x0000008C, 18, CiscoTSP 8.6(2.7) }
            LoginUserID              : {0x000000B0, 10, 5, 2, katr }
            ApplicationID            : {0x000000EA, 25, CiscoTSP001-172.20.40.26 }
            QBEClientVersion         : {0x0000009E, 18, CiscoTSP 8.6(2.7) }
            ProviderEventFilter = {0x000000DA, 16, 4} :
                {bDeviceRegistered: 0xFFFFFFFF, bDeviceUnRegistered: 0xFFFFFFFF, bDirectoryChangeNotify: 0xFFFFFFFF, bDeviceConfigChangedNotify: 0xFFFFFFFF}
            WantServerHeartbeat     : 0x0000001E
            CMAssignedApplicationID : 0x00000000
            PluginName              : {0x00000103, 9, CiscoTSP }
            bLightWeightProviderOpen: 0x00000000
            SingleSignOnTicket      : {0x00000000, 0, }
            AuthenticationType      : 0
            bOldDeviceLineFetch     : 0x00000000
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn seq# =0x00000005 result =0x00000000
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn {{0x0000008B, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x00000004, 0x00000020, 0x00000034, 0x0000003F}
    16:13:32.734 |   ProviderOpenResponse::qbeTraceIn
            Result          : 0x00000000
            ProviderInfo    : {0x00000054, 14, 8.6.2.20000-2 }
            ClientHeartbeat : 30
            ServerHeartbeat : 30
            PluginVersion   : {0x00000062, 10, 8.6.2.2-0 }
            PluginLocation  : {0x0000006C, 39, http://10.1.10.10/plugins/CiscoTSP.exe }
            dwProviderId    : 117440522
            bisFIPSEnabled  : 0x00000000
    16:13:42.886 |   ProviderOpenCompletedEvent::qbeTraceIn {{0x00000091, 0x00000000}, 0xFFFFDDDD, 0x000D0001, 0x0000007E, 0x00000020, 0x00000048, 0x00000032}
    16:13:42.887 |   ProviderOpenCompletedEvent::qbeTraceIn
            Reason           : 0x8CCC0075
            SequenceNumber   : 5
            ProviderInfo     : {0x00000068, 14, 8.6.2.20000-2 }
            ClientHeartbeat  : 0
            ServerHeartbeat  : 0
            Description      : {0x00000076, 33, Directory login failed - timeout }
            bMonitorCallPark : 0
            ProviderId       : 117440522
            DSCPForCTI2Apps  : 0x00000000
            bEnableIpv6      : 0x00000000
            unicodeUserID    : {0x00000098, 2, 1, 2,  }
            daysPswdToExp    : 4294967295
            totalDevices  : 775040566
    16:13:42.887 |   CQBEHelperBase::ProviderOpen() *ERROR* Provider open failed.  result=-1932787595
    16:13:42.887 |   ProviderClosedEvent::Trace
            dummyHeader.dwLen =28
            dummyHeader.dwType =0
            dwMagicCookie =0xFFFFDDDD
            dwProtocolVersion =0x000D0001
            dwPDUNumber =155
            dwHeaderSize =32
            dwFixedSize =4
            dwVariableSize =0
    16:13:42.887 |   ProviderClosedEvent::Trace
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Any help on this will be greatly appreciated.
    thanks,
    Kapil

    Hi Zane,
    We are using Microsoft AD as LDAP Server. We engaged Microsoft support who ran a utility on one of the domain controller and confirmed that LDAP authentication on port 3268 is successful.
    TAC engineer later pointed out that we may be hitting the following BUG and advised an upgrade:
    Bug ID: CSCts99665
    CTI Authentication failure + OutOfMemoryError:
    Curerrently waiting for an opportunity to ugprade our CUCM cluster.
    thanks,
    Kapil

  • Unable to find a WSDL that has a definition for service

    Dear all
    I have a very simple composite applicationexposing a web service. When I deploy the application I get:
    There was an error deploying the composite on soa_server1: Deployment Failed: Unable to find a WSDL that has a definition for service {http://soa/sf/login}bpelprocess1_client_ep and port loginPort_pt. Please make sure that the port attribute for the binding defined in the composite file is correct by checking the namespace, service name, and port name. In addition, check that the WSDL associated with the binding namespace is imported and currently reachable (check the import nodes at the top of the composite file). Finally, validate the HTTP proxy settings for the server.
    However the build process shows no errors. The entire application was built using Jdeveloper 11.1.1.5 using a pre-constructed WSDL. The SOA suite is 11.1.1.5
    Any pointers will be really appreciated.
    Thanks
    The composite is this:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!-- Generated by Oracle SOA Modeler version 1.0 at [2/28/13 2:25 PM]. -->
    <composite name="SOA2" revision="1.0" label="2013-02-28_14-25-14_553"
    mode="active" state="on" xmlns="http://xmlns.oracle.com/sca/1.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
    xmlns:orawsp="http://schemas.oracle.com/ws/2006/01/policy"
    xmlns:ui="http://xmlns.oracle.com/soa/designer/">
    <import namespace="http://soa/sf/login" location="loginToSFDC.wsdl"
    importType="wsdl"/>
    <service name="bpelprocess1_client_ep" ui:wsdlLocation="loginToSFDC.wsdl">
    <interface.wsdl interface="http://soa/sf/login#wsdl.interface(loginPort)"/>
    <binding.ws port="http://soa/sf/login#wsdl.endpoint(bpelprocess1_client_ep/loginPort_pt)"/>
    </service>
    <component name="BPELProcess1" version="2.0">
    <implementation.bpel src="BPELProcess1.bpel"/>
    <property name="bpel.config.transaction" type="xs:string" many="false">required</property>
    </component>
    <wire>
    <source.uri>bpelprocess1_client_ep</source.uri>
    <target.uri>BPELProcess1/bpelprocess1_client</target.uri>
    </wire>
    </composite>
    The WSDL used to generate the BPEL is:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <definitions
    targetNamespace="http://soa/sf/login"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns1="http://soa/sf/login"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:flt="urn:fault.partner.soap.sforce.com"
    xmlns:obj="urn:sobject.partner.soap.sforce.com"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:typ="urn:partner.soap.sforce.com"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <types>
    <xsd:schema targetNamespace="http://uk.gov.fca.sf/login" elementFormDefault="qualified" xmlns:tns1="http://uk.gov.fca.sf/login"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flt="urn:fault.partner.soap.sforce.com"
    xmlns:obj="urn:sobject.partner.soap.sforce.com" xmlns:typ="urn:partner.soap.sforce.com"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
    <xsd:import namespace="urn:partner.soap.sforce.com" schemaLocation="xsd/partner_types.xsd"/>
    <xsd:import namespace="urn:fault.partner.soap.sforce.com" schemaLocation="xsd/partner_faults.xsd"/>
    <xsd:import namespace="urn:sobject.partner.soap.sforce.com" schemaLocation="xsd/partner_objects.xsd"/>
    </xsd:schema>
    </types>
    <message name="loginInMessage">
    <part name="loginIn" element="typ:login"/>
    <part name="LoginScopeHeaderIn" element="typ:LoginScopeHeader"/>
    <part name="CallOptionsIn" element="typ:CallOptions"/>
    </message>
    <message name="loginOutMessage">
    <part name="return" element="typ:loginResponse"/>
    </message>
    <portType name="loginPort">
    <operation name="loginOp">
    <input message="tns1:loginInMessage"/>
    <output message="tns1:loginOutMessage"/>
    </operation>
    </portType>
    <binding name="loginPortSOAP11Binding" type="tns1:loginPort">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loginOp">
    <soap:operation style="document" soapAction="http://soa:8101/login/loginOp"/>
    <input>
    <soap:body use="literal" parts="in"/>
    </input>
    <output>
    <soap:body use="literal" parts="return"/>
    </output>
    </operation>
    </binding>
    <binding name="loginPortSOAP12Binding" type="tns1:loginPort">
    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="loginOp">
    <soap12:operation style="document" soapAction="http://uk.gov.fca.sf:7101/login/loginOp" soapActionRequired="false"/>
    <input>
    <soap12:body use="literal" parts="in"/>
    </input>
    <output>
    <soap12:body use="literal" parts="return"/>
    </output>
    </operation>
    </binding>
    <service name="loginSrvc">
    <port name="login_port_11" binding="tns1:loginPortSOAP11Binding">
    </port>
    <port name="login_port_12" binding="tns1:loginPortSOAP12Binding">
    </port>
    </service>
    <partnerLinkType name="ProviderRole"
    xmlns="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
    <role name="Role1">
    <portType name="tns1:loginPort"/>
    </role>
    </partnerLinkType>
    </definitions>

    Hi,
    I don't see a loginPort_pt port in the wsdl, but it is referenced by the composite...
    There's only ports login_port_11 and login_port_12 defined...
    Cheers,
    Vlad

  • JAAS problems in jdev10g

    Hey all,
    I've got problems when i want to use JAAS into a struts application (with BC4J). In jdev9.0.3 everything was working perfect. At the end you will find the message i get. My colleage who use JAAS without the BC4J, everything is working good. Can anybody give me a hint ?
    For mho my configuration is correct.
    This is snip of my java.security (located in D:/oracle/jdev10g/jdk/jre/lib/security) :
    # Default login configuration file
    #login.config.url.1=file:${user.home}/.java.login.config
    login.config.url.1=file:D:/oracle/jdev10g/jdk/jre/lib/security/tagish.login
    This is a snip of my tagish.login (located in D:/oracle/jdev10g/jdk/jre/lib/security)
    FileLogin
    com.tagish.auth.FileLogin required debug=true pwdFile="D:${/}oracle${/}jdev10g${/}jdk${/}jre${/}lib${/}security${/}passwd.txt";
    This is a snip of my passwd.txt (located in D:/oracle/jdev10g/jdk/jre/lib/security)
    # Passwords for com.tagish.auth.FileLogin
    # login admin; password admin
    # login docent; password docent
    admin:21232f297a57a5a743894a0e4a801fc3:administrator:docent
    docent:281ab35f26dc0a6d9dab6fd4fbc304fc:docent
    Here is the error stacktrace i get :
    03/12/10 16:26:12 javax.security.auth.login.LoginException: No LoginModules configured for FileLogin
    03/12/10 16:26:12      at javax.security.auth.login.LoginContext.init(LoginContext.java:189)
    03/12/10 16:26:12      at javax.security.auth.login.LoginContext.<init>(LoginContext.java:404)
    03/12/10 16:26:12      at view.checkLogin.execute(checkLogin.java:40)
    03/12/10 16:26:12      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    03/12/10 16:26:12      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    03/12/10 16:26:12      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)
    03/12/10 16:26:12      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:509)
    03/12/10 16:26:12      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    03/12/10 16:26:12      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    03/12/10 16:26:12      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    03/12/10 16:26:12      at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
    03/12/10 16:26:12      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    03/12/10 16:26:12      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    03/12/10 16:26:12      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    03/12/10 16:26:12      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:148)
    03/12/10 16:26:12      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:610)
    03/12/10 16:26:12      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    03/12/10 16:26:12      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    03/12/10 16:26:12      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    03/12/10 16:26:12      at java.lang.Thread.run(Thread.java:536)

    Hi.
    I have the same problem with my custom usermanager for ias90401 solaris 2.9 but I am not sure where to add that 3 lines of codes. What do you mean by "a Listener"?
    javax.security.auth.login.Configuration config = new
    com.sun.security.auth.login.ConfigFile();
    config.refresh();
    javax.security.auth.login.Configuration.setConfiguration(config);
    My deployment failed when I added it as a statio block or
    in the init of my usermanager class which extends com.evermind.security.AbstractUserManager.
    Thx.
    Ken
    ADMN-300075
    Nested exception
    Base Exception:
    java.rmi.RemoteException:deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing
    userManager 'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
    java.rmi.RemoteException: deploy failed!: ; nested exception is:
         oracle.oc4j.admin.internal.DeployerException: Error initializing
    userManager 'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
         at
    com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMO
    TE_SERVER(RMIConnection.java:1520)
         at
    com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:14
    73)
         at
    com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationH
    andler.java:55)
         at
    com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(Recove
    rableRemoteInvocationHandler.java:22)
         at __Proxy0.deploy(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.deployOnSingleIns
    tance(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.LocalDeploy.doExecute(Unknown
    Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.runtime.RuntimeIf.execute(Unknown
    Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.doEvaluateD
    eploy(Unknown Source)
         at
    oracle.ias.sysmgmt.deployment.j2ee.adapter.DeploymentAdapter.evaluate(Un
    known Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown
    Source)
         at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown
    Source)
         at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown
    Source)
         at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error
    initializing userManager
    'ca.bc.gov.srm.mjf.security.jaas.orion.JAASUserManager':
    java.lang.ExceptionInInitializerError (null)
         at
    oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:91)
         at
    com.evermind.server.administration.DefaultApplicationServerAdministrator
    .internalDeploy(DefaultApplicationServerAdministrator.java:378)
         at
    com.evermind.server.administration.DefaultApplicationServerAdministrator
    .deploy(DefaultApplicationServerAdministrator.java:305)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
    a:39)
         at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
    Impl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at
    com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at
    com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
    leResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:536)

  • Bean create & use

    Hi All,
    I have problem with a jsp page which use a bean! Perhaps I get wrong when I compile the bean file "Login.java" or I place "Login.class" in wrong place! Can you tell me where I must place compiled file in TOMCAT folder?
    The error displayed is:
    C:\jakarta-tomcat-4.1.30\work\Standalone\localhost\examples\jsp\prove\process_jsp.java:43: cannot resolve symbol
    symbol : class Login
    location: class org.apache.jsp.process_jsp
    Login idHandler = null;
    ^
    An error occurred at line: 1 in the jsp file: /jsp/prove/process.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.1.30\work\Standalone\localhost\examples\jsp\prove\process_jsp.java:45: cannot resolve symbol
    symbol : class Login
    location: class org.apache.jsp.process_jsp
    idHandler = (Login) pageContext.getAttribute("idHandler", PageContext.REQUEST_SCOPE);
    ^
    An error occurred at line: 1 in the jsp file: /jsp/prove/process.jsp
    Generated servlet error:
    C:\jakarta-tomcat-4.1.30\work\Standalone\localhost\examples\jsp\prove\process_jsp.java:48: cannot resolve symbol
    symbol : class Login
    location: class org.apache.jsp.process_jsp
    idHandler = (Login) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "Login");
    ^
    3 errors
    This is process.jsp pagecode:
    <%@ page import="java.util.*" %>
    <jsp:useBean id="idHandler" class="Login" scope="request">
    <jsp:setProperty name="idHandler" property="*"/>
    </jsp:useBean>
    <%
    if (idHandler.validate()){
    %>
    <jsp:forward page="success.jsp"/>
    <%
    } else
    %>
    <jsp:forward page="retry.jsp"/>
    <%
    %>
    ...and this Login.java file code
    import java.sql.*;
    public class Login {
    private String username = "";
    private String password = "";
    public Login()
    public void setUsername(String username)
         this.username = username;
    public void setPassword(String password)
         this.password = password;
    public boolean authenticate(String username2,String password2)
         String query="select * from people;";//Registration;";
         String DbUserName="";
         String DbPassword="";
         String finalUser="";
         try {
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection con=DriverManager.getConnection("jdbc:odbc:register");
              Statement stat=con.createStatement();
              ResultSet rst=stat.executeQuery(query);
              while(rst.next())
                   DbUserName=rst.getString("UserName");
                   DbPassword=rst.getString("Password");
                   if (username2.equals(DbUserName) && password2.equals(DbPassword))
                        break;
              return true;
         }catch(Exception e)
              e.printStackTrace();
              return false;
    Can you help me???
    Thank's

    hai
    beans are generally placed in package specific folders.
    copy the classfiles into classes directory of tomact
    tomcat/webapps/ROOT/WEB-INF/classes/<packagename>/*.class
    in jsp class="<packagename>.Login" try this it will work

Maybe you are looking for

  • Installation problem in Windows 2000

    Hi, When i am trying to install J2EE 1.4 SDK on my Windows 2000 Ver5 an error message "You are currenty attempting to install J2EE 1.4 SDK on an unsupported platform and/or patch level..." is being shown.Can anyone help me out, does J2EE 1.4 support

  • How to set proxy server name in iasenv.ksh?

    How to set the proxy server host and port in the JAVA_ARGS list in the iasenv.ksh file? IAS 6.5 is the server being used.

  • Message-Mapping Problem with empty queue while testing

    Hello, I want to develope an mapping to an BMEcat-structure. This mapping should be an filter. My problem is, that everytime I want to check, if my mapping works correct, the queues for the proccessing steps keeps empty. I filled a test case with all

  • Converting Hi8 to digital

    I am in the process of archiving my old Hi8 analog tapes on my IMac 2.0. I am using a Sony Digital 8 camera , TRV 840 that I can use as a converter. 2 Questions: 1. What are the "easy setup" settings that I should use in Final Cut Express? 2. When I

  • Looking for a new recharge/USB cable for my Ipod classic 5th gen

    Lost my cable, cant access/edit my library or recharge my Ipod. If anyone knows where I can get one please let me know... getting a little desperate.