Error in the sample application notes

Hi,
I am trying to download the sample application demonstrating the usage of group in OID, at the following link.
http://www.oracle.com/technology/sample_code/products/id_mgmt/javaapi/samplegroup/readme.html#configure
However, I am unable to find the link, wherein I can download the application.
Please help!
thanks in advance.

Hi,
have you checked transaction SM13?
if so, what information have you got there?
Best regards.
Edited by: Pablo Casamayor on Sep 30, 2011 3:33 PM

Similar Messages

  • When I try to open CS6 camera raw I get an error abou the parent application not bein active.

    Actually there are two problems. 1) When I try to open a picture in CS6 camera raw I get this error "Bridge's parent application is not active. Bridge requires that a qualifying product has been launched at least once to enable this feature. My second problem is that I'm unable to open Ps without getting a window to get the creative cloud. If I close the window it closed Ps.
    How do I fix these two problems?

    Can you open Adobe Reader by itself?  If so, try to disable Protected Mode [Edit | Preferenes | Security (Enhanced)].

  • Error while verifying the sample application in AIS 9.3

    Hi All,
    I am getting an error "Physical table TBC.sales does not exist" similar error for all other tables. Any one got similar error while creating sample application in AIS.
    Thanks
    Sudheer.T

    Hi
    The reason might be probably because of not properly configuring the Catalogue to the database during the installation.
    During the installation of EIS, you will be asked to give specific database details where the AIS can store the metadata of sample applications of the model and metaoutline. If the database login credentials fail or, now while opening the model, if u are referring to other database/ with other credentials who essentially donot have access to those tables, you might get this error.
    So, please check with configuring the AIS associated Database and Catalogue that you are referring to.
    Regards
    Puliga

  • RWRBE60.EXE - Application Error. The memory could not be written - URGENT !

    Hi,
    We are getting the error "RWRBE60.EXE - Application Error. The memory could not be written" in two of the 5 machines. That too, this error is encountered only some times and not always.
    Scenario: The report builder generates the .PDF file and places it in the network path. The report is called from the forms 6i. We are using the Report Builder - 6.0.8.20.1.
    This error is encountered in only 2 machines but not always.
    It's a critical release issue. Could any let us know the possible solution?
    Thanks,
    Uma

    Thanks. We can not re-install the report builder now. How do I check whether memory is sufficient or not?

  • RWRBE60.EXE - Application Error. The memory could not be "read" - URGENT !

    Hi,
    We are getting the error "RWRBE60.EXE - Application Error. The memory could not be written" in some of the machines. That too, this error is encountered only some times and not always.
    Scenario: The report builder generates a .RTF file and places it in the network path. The report is called from the forms 6i. We are using the Report Builder - 6.0.8.25.0.
    This error is encountered only in some machines but not always.
    It's a critical release issue. Could any let us know the possible solution?
    Thanks,
    Monica

    Thanks. We can not re-install the report builder now. How do I check whether memory is sufficient or not?

  • Sample application not working in iAS6.5

    I am using iAS6.5 and iWS6.0. The provided sample application HelloWorld do not work for my case.
    After deploying the application and using the URL http://myhost/NASApp/helloworld/index.html
    The Result is
    ********Browser Output*********
    GX Error (GX2GX)
    socket result code missing!!!
    *********iAS output**********************************************
    [07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin reqexit: 0s+.132s. (-908962816)
    [07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin reqstart, tickct: -501276465
    [07/Aug/2002 22:31:12:3] info: PROT-006: new connection established
    [07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin reqexit: 2s+.47043s. (-492433444)
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin reqstart, tickct: -423260265
    [07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID: NameTrans lookup failed (Applogic Servlet System_StaticServlet)
    [07/Aug/2002 22:31:33:6] warning: NSAPICLI-011: socket result code missing!!!
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin reqexit: 0s+.135s. (-423255431)
    if I move the index.html to the webserver physically and run this URL
    http://myhost/ias-samples/helloworld/docs/index.html
    The sample application works fine.
    Any explanation why the provided sample application don't work ?
    I do not have this problem when using iAS6.0 and iWS4.1.
    Thank you

    Help, anyone. I have tried deploying the application using both the command line method and the tool provided. The result are the same. I emphasis, I have used iAS6.5 and iWS6.0 to try the sample helloworld application. And I have not problem trying the application with iAS6.0 and iWS4.1.
    I am using iAS6.5 and iWS6.0. The provided sample
    application HelloWorld do not work for my case.
    After deploying the application and using the URL
    http://myhost/NASApp/helloworld/index.html
    The Result is
    ********Browser Output*********
    GX Error (GX2GX)
    socket result code missing!!!
    *********iAS
    output**********************************************
    [07/Aug/2002 22:29:17:9] info: NSAPICLI-009: plugin
    reqexit: 0s+.132s. (-908962816)
    [07/Aug/2002 22:31:11:8] info: NSAPICLI-012: plugin
    reqstart, tickct: -501276465
    [07/Aug/2002 22:31:12:3] info: PROT-006: new
    connection established
    [07/Aug/2002 22:31:14:3] info: NSAPICLI-009: plugin
    reqexit: 2s+.47043s. (-492433444)
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-012: plugin
    reqstart, tickct: -423260265
    [07/Aug/2002 22:31:33:6] warning: UTIL-013: GXGUID:
    NameTrans lookup failed (Applogic Servlet
    System_StaticServlet)
    [07/Aug/2002 22:31:33:6] warning: NSAPICLI-011:
    socket result code missing!!!
    [07/Aug/2002 22:31:33:6] info: NSAPICLI-009: plugin
    reqexit: 0s+.135s. (-423255431)
    if I move the index.html to the webserver physically
    and run this URL
    http://myhost/ias-samples/helloworld/docs/index.html
    The sample application works fine.
    Any explanation why the provided sample application
    don't work ?
    I do not have this problem when using iAS6.0 and
    iWS4.1.
    Thank you

  • Getting error while running sample application of playbook

    Hello,
    I am new to blackberry playbook development.
    I had downloaded NDK 2.0 and done setup. I am successfully able to install and run playbook simulator.
    As shown in the steps how to import and then run the sample application , I had done that,
    But I am not able to build that project.
    Its giving me error.
    i.e
    make: *** No rule to make target `recurse.mk'.  Stop.  
    I had also tried creating new project and then build it. But still I am getting error.
    Its again different error.
    D://target/qnx6/x86/lib/crt1.o: No such file: No such file or directory  
    I dont know why its trying to search at thi location..
    this file exist in d://playbook2.0.0/target/qnx6/x86/lib/crt1.o
    Please Help me.
    Thanks In advance.
    bskania.
    Solved!
    Go to Solution.

    I solved the Error. Its like I have to set the path of environment variable.
    QNX_TARGET. - Set it to your folder path where you had installed the SDK.

  • Error in running sample application for tuxedo

    Hi
    I received the following error when i try to run the sample application "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following error.do i have
    to install any c compiler? if so pls. suggest me some good c compiler.
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; check TUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

    Hi
    for Windows NT, which C compiler would be better for compiling the programs
    for tux clients and servers?
    do we have to use the MS-VC++ compiler and what are the environment
    variables to be set if i have to use build(client|server) ?
    pls. help me.
    thanks
    Magesh
    "Peter Holditch" <[email protected]> wrote in message
    news:[email protected]...
    Magesh,
    As I already posted, you need a C compiler installed.buildclient
    merely invoke the system compiler.
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, andBEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness ofthe
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    magesh muthukumarasamy wrote:
    Hi
    After doing the steps which you've told, I got the following error when
    I
    ran buildclient and builserver respectively :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    TUXNT_CAT:77: ERROR: Can't execute cl/MD -I"%TUXDIR%"\include -Fesimpcl
    simpcl.c "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"
    \lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.
    lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-5f.lib
    C:\simpapp>buildserver -o simpserv -f simpserv.c -s TOUPPER
    cl /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%TUX
    DIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.libuser32
    .lib gdi32.lib comdlg32.lib winspool.lib -link -implib:BS-1a4.lib
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    CMDTUX_CAT:4180: ERROR: can't execute cl
    /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.l
    ib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock3
    2.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BS-1a4.lib
    IS IT DUE TO C COMPILER NOT AVAILABLE OR ANY OTHER CONFIGURATIONPROBLEMS?
    >>
    pls. help me.
    THANKS
    magesh
    "LouisLiu" <[email protected]> wrote in message
    news:[email protected]...
    Three steps to solve this problem:
    1. Set the LANG environment variable: set LANG=English_United
    States.1252;
    2. In the tuxedo directory Tuxedo\locale, make a new directory named
    English_United States.1252;
    3. Copy all files in diirectory Tuxedo\locale\C into the newdirectory.
    >>>
    "MAGESH MUTHUKUMARASAMY" <[email protected]> wrote in message
    news:[email protected]...
    Hi
    I received the following error when i try to run the sample
    application
    "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following
    error.do
    i
    have
    to install any c compiler? if so pls. suggest me some good c
    compiler.
    >>>>
    >>>>
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; checkTUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

  • Problems importing the sample applications into htmldb 2.0

    When I try to install the sample applications from the htmldb studio page into the htmldb 2.0 I get the following error.
    1 error has occurred
    File is not a valid HTML DB application export file.
    I am trying to load the tracker.zip file. I have read that the applications are upward compatable.
    ken

    was told on the htmldb 2 tech day that you did not need to unzip the file but will try to do that now.
    Thanks ken.

  • Sample application not working

    hi,
    i am a newbie to javawebstart.. i have 2 questions
    1) i downloaded the sample application from the net
    ( http://java.sun.com/developer/releases/javawebstart/) and was trying the "LibInstaller" sample.. i have been able to run step 1 (ant main : creates intially war file) and step 2(keystore and signing)... but step 3 seems to have some problem..i try to make the war file using command jar -cvf ../Libinstaller.war but get this error message:
    C:\javawebstart\webstart_examples\Libinstaller\war>jar -cvf C:\javawebstart\webs
    tart_examples\Libinstaller\Libinstaller.war
    'c' flag requires that input files be specified!
    Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
    Options:
    -c create new archive
    i don't know which option i should be using because it just seems to overwrite the previous unsigned war file and is empty (1KB only) .. and by the way which of the samples given is working ok if the steps in the readme is followed accordingly??
    2) Another question is if i want to deploy an application using webstart, for e.g can i just replace the inst.jar file by my "source.jar" file and rename to inst.jar (for a start so that i don't have to change the inst.java file initially) and change the inst.jnlp (application desc main to specify the main class)???
    Thanks in advance..

    hi,
    issue 1 has been resolved. the sample program is working fine.. just missed '.' in step 3 during war file creation.
    as for issue 2, i require my swing application to be updated automatically at the client end if a new version is available at the server side. so i am thinking of using java webstart to check whether a recent source.jar file is available. so for a start, what i am trying is to replace the inst.jar file by my source.jar file in the sample application.... renaming it to inst.jar file and changing the inst.jnlp to indicate the mainclass.. any suggestions..
    thanx..

  • Problem deploying the sample application

    anyone had success deploying the Identity Server 5.1 sample applications? I was trying to deploy and run the Authentication sample by going through the directions given in the readme file. I deployed it using amadmin utility and after that i dont know what to do. The instructions are not clear and i think the sample is not in sync with 5.1 version.
    Any feedback is appreciated.
    Thanks
    Hugo

    Yes that is true ..
    I had to modify the steps quite a bit to get it to run ..
    see details below ..
    set the following class paths ..
    JAVA_HOME - Set this variable to your installation of JDK. The JDK should be newer than JDK 1.2.2.
    CLASSPATH - Modify the /opt to the base of your installation. Install_Directory/SUNWam/web-apps/services/WEB-INF/lib directory.
    BASE_CLASS_DIR - Set this variable to the directory where all the Sample compiled classes are located.
    JAR_DIR - Set this variable to the directory where the JAR files of the Sample compiled classes will be created.
    after this in the Makefile make sure to comment JAVA_HOME env variable, you can comment it using #
    and then run make
    this should generate the jar files ..
    cp the jar files to Install_Directory/SUNWam/web-apps/services/WEB-INF/lib".
    Copy AuthenticationSample.properties from Install_Directory/SUNWam/samples/authentication/providers to Install_Directory/SUNWam/web-apps/services/WEB-INF/config/auth/default.
    make a copy of amAuth.xml in /install_dir/SUNWam/config/xml
    in the following line
    <AttributeSchema name="iplanet-am-auth-authenticators"
    type="list"
    syntax="string"
    i18nKey="a17">
    <DefaultValues>
    (add the line below to the existing list of lines) <Value>com.iplanet.am.samples.authentication.providers.AuthenticationSample</Value>
    </DefaultValues>
    </AttributeSchema>
    also modify the auth menu to add the sample ..
    <AttributeSchema name="iplanet-am-auth-menu"
    type="multiple_choice"
    syntax="string"
    i18nKey="a1">
    <ChoiceValues>
    <Value>LDAP</Value>
    <Value>Radius</Value>
    <Value>Membership</Value>
    <Value>Anonymous</Value>
    <Value>Cert</Value>
    <Value>AuthenticationSample</Value>
    </ChoiceValues>
    <DefaultValues>
    <Value>LDAP</Value>
    </DefaultValues>
    </AttributeSchema>
    Delete iPlanetAMAuthService entry and then import (the modified) amAuth.xml using amadmin.
    cd <install-root>/SUNWam/bin
    ./amadmin --runAsDN uid=amAdmin,ou=People,<default_org>,<root_suffix> --password <password> --deleteService iPlanetAMAuthService
    ./amadmin --runAsDN uid=amAdmin,ou=People,<default_org>,<root_suffix> --password <password> --schema amAuth.xml
    Add the AuthenticationSample.jar file path to the Web server JVM classpath:
    cd Install_Directory/SUNWam/servers/https-<host>.<domain>/config
    Modify jvm12.conf to add Install_Directory/SUNWam/web-apps/services/WEB-INF/lib/AuthenticationSample.jar path to the JVM classpath.

  • Attn: Installing the Sample Applications from the ifs Development Kit

    There are a number of problems with the sample Applications included in the
    Developer's kit. These need to manually fixed in order to get the demos to work.
    #1: Solaris Only
    The install of the iFS Development Kit, replaces the existing adk.jar with a new
    one containing some additional classes. Unfortunately the install process does not
    set the correct privileges on the new version of adk.jar. Please ensure that the
    file $ORACLE_HOME/ifs/lib/adk.jar is world readable.
    Bug # 1304730
    This issue will be resolved on the next drop of the Oracle Internet File System
    development kit.
    #2: Generic
    There is a problem with the way in which the login.jsp establishes a connection to
    the repository. The current code makes incorrect assumptions about the name of the
    iFS Service and the schema password.
    The following changes are required.
    In order to connect to the repository 4 pieces of information are required.
    1. The iFS User Name
    2. The iFS User's password
    3. The properties file to be used
    4. The database password of the user who owns the iFS Schema
    The Login.jsp needs to be altered so that it requests these four arguments before
    attempting to establish a connection to the repository.
    (The current version only requests username and password).
    All four arguments need to be provided as arguments to the login method on the
    underlying JavaBean that the JSP invokes when it want to open a connection
    to the repository.
    ***************** HERE IS THE REVISED CODE FOR INSURANCE APPLICATIONS ************
    ********************************** LOGIN.JSP *************************************
    <%@ page import = "ifsdevkit.sampleapps.insurance.InsuranceLogin" %>
    <%@ page import = "oracle.ifs.adk.security.IfsHttpLogin" %>
    <html><head>
    <jsp:useBean id="inslogin" scope="session" class="ifsdevkit.sampleapps.insurance.InsuranceLogin" />
    <jsp:setProperty name="inslogin" property="*"/>
    <%
    String REDIRECT_PATH = "/public/examples/insuranceApp/claims";
    boolean loggedIn = false;
    if (inslogin.getSession() != null && inslogin.getResolver() != null)
    // Use existing insurance login
    loggedIn = true;
    else
    // No existing insurance login
    IfsHttpLogin login = (IfsHttpLogin) request.getSession(true).getValue("IfsHttpLogin");
    if (login != null && login.getSession() != null && login.getResolver() != null)
    // Use existing IfsHttpLogin login
    inslogin.init(login.getSession(), login.getResolver());
    loggedIn = true;
    if (!loggedIn)
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    String serviceName = request.getParameter("serviceName");
    String schemaPassword = request.getParameter("schemaPassword");
    if (username != null && password != null &&
    !username.trim().equals("") && !password.trim().equals(""))
    // Login using username/password
    try
    if (serviceName == null &#0124; &#0124; serviceName.trim().equals(""))
    serviceName = "IfsDefault";
    inslogin.init(username, password, serviceName, schemaPassword);
    request.getSession(true).putValue("IfsHttpLogin", inslogin);
    loggedIn = true;
    catch (Exception e)
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    alert("The username or Password was not valid, please try again.");
    </SCRIPT>
    <%
    if (loggedIn)
    // Redirect to the directory where the claim files reside
    response.sendRedirect(REDIRECT_PATH);
    else
    %>
    <title>Insurance Demo App Login</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <form METHOD=POST NAME="loginform" ACTION="login.jsp">
    <table>
    <tr>
    <td><b>Username:</b></td>
    <td><input type="text" name="username" value=""></td>
    </tr>
    <tr>
    <td><b>Password:</b></td>
    <td><input type="password" name="password" value=""></td>
    & lt;/tr>
    <tr>
    <td><b>Service Name:</b></td>
    <td><input type="text" name="serviceName" value="IfsDefault"></td>
    </tr>
    <tr>
    <td><b>Schema Password:</b></td>
    <td><input type="password" name="schemaPassword" value=""></td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <input type="submit" value="Log in">
    </td>
    <td>
    <input type="reset" value="Reset">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    <% } %>
    *************************** END INSURANCE LOGIN.JSP ******************************
    This code has been changed so that it requests the four agruments that are required
    to connect to the repository and passes them to the login method on the underlying
    bean. Note that we have provided the complete source code to this file in order to
    make it simple to deploy the revised version of the code. Simply cut and paste this
    code into a new file called login.jsp. Copy the File into the iFS
    repository folder /ifs/jsp-bin/ifsdevkit/sampleapps/insurance.
    ****************************** INSURANCELOGIN.JAVA *******************************
    package ifsdevkit.sampleapps.insurance;
    * Copyright (c) 2000 Oracle Corporation. All rights reserved.
    import java.util.Locale;
    import javax.servlet.http.HttpSessionBindingEvent;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.FolderPathResolver;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.adk.security.IfsHttpLogin;
    * The login bean for the Insurance demo app.
    * <p>
    * This class provide the login info. The class implements the
    * <code>IfsHttpLogin</code> interface so it can share login data with other
    * login beans.
    * @author Edward Yu
    * @version 1.0
    * @see IfsHttpLogin
    public class InsuranceLogin implements IfsHttpLogin
    * The <code>LibrarySession</code>.
    private LibrarySession m_session;
    * The <code>FolderPathResolver</code>.
    private FolderPathResolver m_resolver;
    * Default constructor required by the jsp spec for the USEBEAN tag
    * @exception IfsException
    public InsuranceLogin()
    throws IfsException
    * Make a connection to iFS
    * @param username The username to be used for login.
    * @param password The password to be used for login.
    * @param serviceName The service name to be used for login.
    * @param schemaPassword The schema password to be used for login.
    * @exception IfsException if operation failed.
    public void init(String username, String password, String serviceName,
    String schemaPassword)
    throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential me = new CleartextCredential(username, password);
    ConnectOptions connection = new ConnectOptions();
    connection.setLocale(Locale.getDefault());
    connection.setServiceName(serviceName);
    connection.setServicePassword(schemaPassword);
    m_session = service.connect(me, connection);
    m_resolver = new FolderPathResolver(m_session);
    m_resolver.setRootFolder();
    DirectoryUser user = m_session.getDirectoryUser();
    if (user.isAdminEnabled())
    m_session.setAdministrationMode(true);
    * Initialize the login bean.
    * <p>
    * The default constructor does not set the necessary fields so it needs
    * to be set instantiation.
    * @param session The <code>LibrarySession</code> object.
    * @param resolver The <code>FolderPathResolver</code> object.
    public void init(LibrarySession session, FolderPathResolver resolver)
    m_session = session;
    m_resolver = resolver;
    * Return the login's session object.
    * @return The <code>LibrarySession</code> object.
    public LibrarySession getSession()
    return m_session;
    * Return the login's path resolver.
    * @return The <code>FolderPathResolver</code> object.
    public FolderPathResolver getResolver()
    return m_resolver;
    * Called when this object is bound to the HTTP session object.
    * @param event The event when the object is bound to the Http session.
    public void valueBound(HttpSessionBindingEvent event)
    // do nothing
    * Called when this object is unbound from the HTTP session object.
    * @param event The event when the object is unbound to the Http session.
    public void valueUnbound(HttpSessionBindingEvent event)
    m_resolver = null;
    try
    if (m_session != null)
    m_session.disconnect();
    catch (IfsException e)
    e.printStackTrace();
    finally
    m_session = null; // release the resources
    *****************************END INSURANCELOGIN.JAVA ******************************
    This code has been changed so that it accepts the four agruments that are required
    to connect to the repository and uses them to connect to the repository. Note that
    we have provided the complete source code to this file in order to make it simple
    to deploy the revised version of the code. Simply cut and paste this
    code into a new file called. Save the file on the native file system
    in a file called InsuranceLogin.java in the directory
    $ORACLE_HOME/ifs/ifsdevkit/sampleapps/insurance/
    *************** HERE IS THE REVISED CODE FOR WEB COMMAND APPLICATIONS ************
    ********************************** LOGIN.JSP *************************************
    <%@ page import = "ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="Patricia Li">
    <title>Login</title>
    </head>
    <jsp:useBean id="wclogin" scope="session" class="ifsdevkit.sampleapps.webcommandapp.WebCommandLogin" />
    <jsp:setProperty name="wclogin" property="*"/>
    <%
    String REDIRECT_PATH = "/ifs/ifsdevkit/sampleapps/WebCommandApp/html/main.html";
    boolean loggedIn = false;
    if (wclogin.getSession() != null)
    // Use existing WebCommand login
    loggedIn = true;
    else
    String username = request.getParameter("username");
    String password = request.getParameter("password");
    String serviceName = request.getParameter("serviceName" );
    String schemaPassword = request.getParameter("schemaPassword");
    if (username != null && password != null)
    // Login to iFS
    try
    wclogin.init(username, password, serviceName, schemaPassword);
    request.getSession(true).putValue("IfsHttpLogin", wclogin);
    loggedIn = true;
    catch (Exception e)
    %>
    <SCRIPT LANGUAGE="JavaScript1.2">
    alert("The credentials are not valid; please try again.");
    </SCRIPT>
    <%
    if (loggedIn == true)
    // Go to main page...
    response.sendRedirect(REDIRECT_PATH);
    else
    %>
    <title>Web Command App Login</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <h2>WebCommand Application Login</h2>
    <form METHOD=POST NAME="loginform" ACTION="login.jsp">
    <table>
    <tr>
    <td><b>Username:</b></td>
    <td><input type="text" name="username" value=""></td>
    </tr>
    <tr>
    <td><b>Password:</b></td>
    <td><input type="password" name="password" value=""></td>
    </tr>
    <tr>
    <td><b>Service Name:</b></td>
    <td><input type="text" name="serviceName" value="IfsDefault"></td>
    </tr>
    <tr>
    <td><b>Schema Password:</b></td>
    <td& gt;<input type="password" name="schemaPassword" value=""></td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td>
    <input type="submit" value="Log in">
    </td>
    <td>
    <input type="reset" value="Reset">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    <% } %>
    ************************* END WEB COMMAND LOGIN.JSP ******************************
    This code has been changed so that it requests the four agruments that are required
    to connect to the repository and passes them to the login method on the underlying
    bean. Note that we have provided the complete source code to this file in order to
    make it simple to deploy the revised version of the code. Simply cut and paste this
    code into a new file called login.jsp. Copy the File into the iFS repository folder
    /ifs/jsp-bin/ifsdevkit/sampleapps/WebCommandApp
    ****************************WEBCOMMANDLOGIN.JAVA**********************************
    package ifsdevkit.sampleapps.webcommandapp;
    import java.util.Locale;
    import oracle.ifs.beans.DirectoryUser;
    import oracle.ifs.beans.FolderPathResolver;
    import oracle.ifs.beans.LibrarySession;
    import oracle.ifs.beans.LibraryService;
    import oracle.ifs.common.CleartextCredential;
    import oracle.ifs.common.ConnectOptions;
    import oracle.ifs.common.IfsException;
    import oracle.ifs.adk.filesystem.IfsFileSystem;
    import oracle.ifs.adk.security.IfsHttpLogin;
    import javax.servlet.http.HttpSessionBindingEvent;
    * WebCommand application that illustrates the usage of the
    * File System API.
    * @version 1.0
    * @pub
    public class WebCommandLogin implements IfsHttpLogin
    private LibrarySession m_session; // Session
    private FolderPathResolver m_resolver; // Resolver
    private IfsFileSystem m_ifs; // File System object
    * Default constructor required by the jsp spec for the USEBEAN tag
    public WebCommandLogin()
    throws IfsException
    * Make a connection to iFS
    * @pub
    public void init(String username, String password, String serviceName,
    String schemaPassword)
    throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential cred = new CleartextCredential(username, password);
    ConnectOptions options = new ConnectOptions();
    options.setLocale(Locale.getDefault());
    options.setServiceName(serviceName);
    options.setServicePassword(schemaPassword);
    m_session = service.connect(cred, options);
    m_resolver = new FolderPathResolver(m_session);
    m_resolver.setRootFolder();
    m_ifs = new IfsFileSystem(m_session);
    DirectoryUser user = (DirectoryUser) m_session.getDirectoryUser();
    if (user.isAdminEnabled())
    m_session.setAdministrationMode(true);
    * Use the existing connection.
    * The default constructor does not set the necessary fields.
    * @pub
    public void init(LibrarySession session, FolderPathResolver resolver)
    throws IfsException
    m_session = session;
    m_resolver = resolver;
    m_ifs = new IfsFileSystem(m_session);
    * Return the login's session
    * @pub
    public LibrarySession getSession()
    return m_session;
    * Return the login's path resolver
    * @pub
    public FolderPathResolver getResolver()
    return m_resolver;
    * Return the IfsFileSystem API object
    * @pub
    public IfsFileSystem getIfsFileSystem()
    return m_ifs;
    * Implementation of valueBound
    * @pub
    public void valueBound(HttpSessionBindingEvent e)
    * Implementation of valueUnbound
    * @pub
    public void valueUnbound(HttpSessionBindingEvent e)
    try
    m_session.disconnect();
    catch (IfsException ie)
    ************************* END WEBCOMMANDLOGIN.JAVA *******************************
    This code has been changed so that it accepts the four agruments that are required
    to connect to the repository and uses them to connect to the repository. Note that
    we have provided the comple te source code to this file in order to make it simple
    to deploy the revised version of the code. Simply cut and paste this code into a
    new file called WebCommandLogin.java in the directory
    $ORACLE_HOME/ifs/ifsdevkit/sampleapps/webcommandapp/
    Compile the java class.
    Copy the classfile to $ORACLE_HOME/ifs/custom_classes/ifsdevkit/sampleapps/webcommandapp/
    Stop and Start all of the protocol servers.
    This issue will be resolved on the next drop of the Oracle Internet File System
    development kit.
    #3. Making the BaseRendererClass available to the Protocol Servers
    Note this step is not required if you have the 1.0.8.3 patch set installed.
    Install the BaseRenderer Class. The BaseRenderer class is delivered in the jar file
    ifsdevkit.jar and can be used to simplify the task of creating a custom renderer.
    Unfortunately the jar file containing this class is not referenced in any of the Classpaths
    used by the iFS protocol servers. This means that they will not be able to load any
    customer renderers that extend BaseRenderer. In order to make BaseRenderer available
    to the Protocol Servers it need to be placed in the appropriate directory under
    <ORACLE_HOME>/ifs/custom_classes.
    Extract the class from the ifsdevkit.jar.
    ifsdevkit.jar is located in <ORACLE_HOME>/ifs/lib after the devkit has been installed.
    jar -xvf ifsdevkit.jar
    extracted: META-INF/MANIFEST.MF
    extracted: BaseRenderer.class
    Create the following directory heirachy in <ORACLE_HOME>/ifs/custom classes
    oracle/ifs/server/renderers
    Copy <ORACLE_HOME>/ifs/lib/BaseRenderer.class to
    <ORACLE_HOME/ifs/custom_classes/oracle/ifs/server/renderers
    That should do it.
    Regards
    Mark D. Drake
    null

    Moving to Top

  • When trying to share my movie i get a error message The project could not be prepared for publishing because an error occurred. (-108)" pls help

    when trying to share my movie on Imovie i get the following error. "The project could not be prepared for publishing because an error occurred. (-108)"
    any idea why this has happened? How do i rectify this?

    Hi
    Error -108 memFullErr  Ran out of memory [not enough room in heap zone]
    Turn off - TimeMachine usually works - re-try.
    (the Application down in the Dock - not the Device)
    But this can mean many thing's - My first thought is
    • Free Space on Start-Up hard disk. How much ? (other disks do not count)
    Yours Bengt W

  • Error message "The document could not be saved. This file is already open" when trying to complete an electronic signature.

    Running Adobe Acrobat Professional 10.1.0. I cannot upgrade to newer version because several applications were already tested on this version.
    When trying to complete an electronic signature, my users receive the error message ""The document could not be saved. This file is already open".  When they close and open the file again to try to sign again they find a corrupted electronic signature.  Instead of a clean signature with the box colored in light blue they see their signature with the embedeed message Click Here to Verify & Sign with the box colored in grey.
    We turned off antivirus in the Sharefolder where the forms are stored and nothing.  We turned off the antivirus on the client and nothing.  We stored the files in another server and nothing.  One workaround is saving the file in the desktop, signing it, and then back to the Sharefolder.  Another is saving the file with a different file name.
    I've searched and the only similar thing was caused by the Windows Preview Pane.  See Information Transmogrification: Adobe Acrobat saving a file does not work, displays “File may be read-only”.  No luck with this one too.
    Is definitively an intermittent problem.  The users that experience the problem experience it intermittently.
    This started to happen when we move our computers to Windows 7.
    Any ideas?

    Correction on Question:
    This is a web application and the users need to be able to load the editable .pdf form from the website, edit it and submit it back to the website from within Internet Explorer.
    Users began getting the error message:
    'The document could not be saved. This file is already open.'
    last Friday after having no problems prior to this. Some users can edit the editable .pdf forms on the website and save the file with the same name to the website. Some get the error mentioned in the subject. 
    We really need help getting this resolved.
    Sandy Martin

  • Error #2057: The page could not be added to the print job.

    I've been making myself crazy over this one.  I'm trying to print a complex multi-page "report" in Flex, but I keep getting this error every time I try to call FlexPrintJob.addObject(page):
    Error #2057: The page could not be added to the print job.
    Here is the basic scenario...  I have created a new control I call a PrintVBox that extends the normal VBox control.  After adding all of the children properly to the component, I wait for an update event (so that the heights of all the components are calculated) and then I call a custom method I have added to PrintVBox that "paginates" the control.
    This pagination method essentially decides how many of the items in the VBox can fix on each page, and splits them up into separate pages.  Here's a somewhat graphic example of what happens:
    (before paginate)
    ***** PrintVBox ********
         [ Item 1 ]
         [ Item 2 ]
         [ Item 3 ]
         [ Item 4 ]
         [ Item 5 ]
    This single VBox with 5 items, after calling the paginate method becomes something like this:
    (after paginate)
    ****** PrintVBox ********
         **** VBox (page1) ******
                   [ Item 1 ]
                   [ Item 2 ]
         **** VBox (page 2) ******
                   [ Item 3 ]
                   [ Item 4 ]
                   [ Item 5 ]
    So, what was once a single VBox with 5 UIComponents on it is now a VBox that contains two VBoxes, each the exact size of a printable page, one containing the first two items, the other containing the second two items.
    In my example that I am working on, my PrintVBox that I have created uses a Repeater to create about 20 HBoxes on the page.  I then call
    myFlexPrintJob.start()
    to show the print dialog and get the user's parameters.  I then pass the chosen print height and width to the PrintVBox control and call the paginate method, which creates pages of the desired width/height.  I have tested this part thoroughly and displayed the resulting PrintVBox on the screen and it paginates successfully and all is well.  After paginate, it has created 3 page VBoxes each holding some of those 20 items.
    I then iterate thru PrintVBox.getChildren() array, in this case which is the three VBox pages, and I call:
    myFlexPrintJob.addObject(page);
    for each one.  Each one errors out with the above error.  The error is down in the PrintJob code, which is part of the Flash framework and I cannot step through it.  I have no indication of why the page can't be added to the print job.  Is there a reason this is happening??  Does it have to do with the Repeater that originally created the 20 HBoxes, even though I have now moved those HBoxes down onto separate pages?  I'm just so confused here.
    I can probably post the entire code chunk if someone really wanted it.  I'm currently testing it as an AIR application using a big tester XML data object on the repeater, so that I didn't need a database and such to create the control and test printing.  If someone really wants to see what I'm doing, let me know.
    HELP! PLEASE!!
    Thanks,
    Joe

    Were you able to solve this problem?
    I am currently having the same problem as yours... I created my own printing classes that do all crazy calculation to figure out page breaks and stuff... everything goes well until the point I want to add these pages to the printJob. I get same error?
    Any help is highly appreciated.
    Thanks,

Maybe you are looking for

  • Remote cannot select channels, either directly entered or by selecting channel in the guide.

    For a month, everything worked perfectly. Now all of a sudden entering a channel and hitting Enter, or OK does nothing. I only discovered this after I looked through the guide and found I show I wanted to watch. I hit OK, or Enter and the guide goes

  • Crop tool in elements 8 disappeared

    How do I get back my crop tool? First it didnt work, then the icon disappeared from the tool bar.

  • Coloring charts depending on its input values

    Hi all, I need to create bar chart where colors of individual values will be changing depending on values. For example query like this: select null, ename, sal from emp; should display bar in red color when employee's salary is less than 2000, and if

  • IPhoto Library w/ both alias and real files

    I just discovered my iPhoto Library contains both jpg files and aliases. Looks like I changed ships midstream (moved from Referenced to Managed). It is a small library, less than 1000 pix. Should I start over? or is there an easy fix? I am a former P

  • Iphone problem with Youtube

    Help! I have Youtube problems, perhaps someone has the answer. My friend Sara uploaded a video to her account from my phone and now whenever I upload a video from my phone (other devices work properly) it uploads to Sara's account. When I look at the