About the sample xmla2a.jar

Greeting#,
I downloaded the xml sample file 'xmla2a.jar' from Oracle website, but I don't know how to use it, who can help me, thanx!

The extension .jar means the file is a <b>J</b>ava <b>AR</b>chive, a bundle of files similar to a Zip file. After downloading the file, execute this command to extract the files from the bundle:
jar xvf xmla2a.jar
This command invokes jar.exe, which is included with the Java Development Kit (JDK), available from java.sun.com. As jar.exe unpacks the bundle, it creates a directory named xmla2a and several subdirectories under xmla2a. When jar.exe is finished, read the files xmla2a/readme.html and xmla2a/install.html which explain how to install and configure the sample application.
If you have more questions, please post them in the OTN Sample Code discussion forum.
Thanks,
-rh
null

Similar Messages

  • About the sample music that comes with Zen vision

    Hello?I know this is a little stupied, but I accidently deleted one or more of the sample music files that come with the player Zen vision: M.So if anyone still has it, maybe he/she can upload all the sample music for me?Thanks

    Please? Anyone?

  • Who can tell me about the usage of jar -m ?

    Hi!
    When I try to add my Manifest.mf to my .jar file , use :
    jar -cvfm mytest.jar Manifest.mf -C camon/test/ test.class
    but the result is a error :
      java.io.FileNotFoundException: Manifest (The system cannot find the file specifi
       ed)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:64)
            at sun.tools.jar.Main.run(Main.java:124)
            at sun.tools.jar.Main.main(Main.java:904)
    my Manifest.mf is like following :
        Manifest-Version: 1.0
        Name: "Camon Test for Manifest"
        Main-Class: camon.test.Test
        Created-By: 1.3.1_01 (Sun Microsystems Inc.)
    Any help is appreciated!!

    Yes , it can work normally ,but you can't access your Manifest.mf when you java -jar mytest.jar , I get the way now :
    1 . Create folder meta-inf ,and copy Manifest.mf here;
    2 . use this command :
    jar -cvfm mytest.jar meta-inf/Menifest.mf -C camon/test/ Test.class
    3 . then ,you can run a .jar with :(of course you will init the Main- Class)
    java -jar mytest.jar

  • Questions about the sample DB

    I am using the Siebel 8.0 sample DB to do the lab.
    But there is no Application-Administration screen.
    Can anyone help me?
    Thanks.

    The other thing to check is the Responsibilities and Views.
    But yes, it's odd this doesn't work out of the box.
    On second thought, you will need the Adminstration Screen for that.
    As a last resort, read this post Linking Siebel Sample DB and SQL Server
    and see if you can query the tables to see if everything is in place.

  • Since upgrading to OSx 10.9, I cannot place my music for iPhoto slideshows.  The only music that works is the Sample and Theme music that comes with iPhoto.  Any idea of what to do about this problem?

    Since upgrading to OSx 10.9, I cannot place my music for iPhoto slideshows.  The only music that works is the Sample and Theme music that comes with iPhoto.  Any idea of what to do about this problem?

    In iTunes go File -> Library -> Organise Library -> Reorganise Library.
    Then quit and restart iPhoto.
    Credit to user keysandfood who figured that one out.

  • I purchased Aperture 3 about a year ago. I hardly use it because it is so slow.  If I uninstall the sample library, will that help the processing speed to edit pictures?  If so, how do I uninstall just the sample library?

    I purchased Aperture 3 about a year ago.  I hardly use it because it's processing speed is so slow when editing pictures.  Can I uninstall the sample library to increase the processing ability of the program? If so, how do I do that?  I need simple instructions because I am not a professional at knowing how to do this.
    Thank you.  Any help will be appreciated.  The following is information on my IMac:
    Model Name:          iMac
      Model Identifier:          iMac5,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          4 MB
      Memory:          1 GB
      Bus Speed:          667 MHz
      Boot ROM Version:          IM51.0090.B09
      SMC Version (system):          1.8f2

    poppy-
    Aperture is a hardware hog. Unfortunately your iMac  has a weak processing unit and relatively weak graphics, both of which are important for Aperture performance. Your iMac will never run Aperture particularly well; it may or may not be adequate for your needs.
    I ran Aperture with weak hardware (2.33 GHz Core 2 Duo 2006 Macbook Pro, 3 GB RAM) for years. It was tolerable because I also used a Mac Pro for heavy editing work. With weak hardware we need to optimize everywhere we can. I suggest:
    • Do not bother running Aperture until you add RAM.
    • Before each Aperture session restart the Mac to clear possible memory leaks, and run only Aperture by itself unless you have 6 GB or more RAM on board.
    • Drives slow as they fill so verify that all hard drives are no more than approximately 70% full as a guideline. Even less full is better.
    • Keep the Library size reasonable by using a referenced-Masters workflow with Masters on external drives. Back up originals before import into Aperture or any other images app.
    Good luck!
    -Allen

  • About the Code sample

    Hello,
    I'd like to know how it is possible to send Code Sample.
    I've written, a code sample for SAP Business One.
    I posted it but now it get lost deep in the forum. Sometimes people make it go up, but it would be easier to make it always available as document. (if moderators think it worth it...)
    I also read there is point to be earned when code sample is given
    Contributor Recognition Program FAQ speaks about code sample, but it doesn't say what it the procedure to give code.
    Thanks for your help

    Top right corner - Submit Content, click it and you will seee a seciton on Code Samples with a link to <a href="https://www.sdn.sap.com/sdn/submitcontent.sdn?node=linkscnode2&contenttype=url&content=http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fFramework!2fcom.sap.sdn.submitform?prttheme=CSIN">sumbit your code sample</a>

  • About the database samples in database

    when i refer to the oracle tutorials I see that they are using the sample schemas and tables provided with the database install-pack. But I find that some new version of database installpack does not contain the samples(I want the hr schema and the tables in particular). Someone told me I should find them in a standalone sample pack and I find one on oracle.com but it is only for linux_64 and quite big one.
    now I only want the hr samples. Where can I get them?
    the database version I am using is win32_11gR2_database.
    I have tried the mkplug.sql script but it doesn't work.after using it the schema is created but no table is there.
    Thanks!
    Regard,Neo.

    Thanks a lot for your reply, TSharma.
    the first link doc I had already read before I post this question, and thank your for your second link which acknowlegded me the list of the scripts.
    but my problem is, there aren't these files in the directory mentioned in the doc. only some of them, for example, the hr_code.sql. the files such as hr_main.sql and so on are all gone. I don't know why this happened and I want to find the sql files. Is there some place I can get the sample scripts?
    regard,Neo

  • Help !! About the PostProcessing SPI Sample

    i was deployed the sample.
    but i don't know whether it completed.

    Hi,
    from UIViewController Class Reference:
    +- (void)loadView+
    +%< (SNIP) >% -+
    +The default implementation of this method looks for valid nib information and uses that information to load the associated nib file. If no nib information is specified, the default implementation creates a plain UIView object and makes it the main view.+
    +If you override this method in order to create your views manually, you should do so and assign the root view of your hierarchy to the view property. (The views you create should be unique instances and should not be shared with any other view controller object.) Your custom implementation of this method should not call super.+
    +If you want to perform any additional initialization of your views, do so in the viewDidLoad method. In iOS 3.0 and later, you should also override the viewDidUnload method to release any references to the view or its contents.+
    So if you want to create a view (background image) which loads from a nib you need to add additional views (scrollview) in viewDidLoad by adding the as subviews to self.view.
    - (void)viewDidLoad
    // Step 1: make the outer paging scroll view
    CGRect pagingScrollViewFrame = [self frameForPagingScrollView];
    pagingScrollView = [[UIScrollView alloc] initWithFrame:pagingScrollViewFrame];
    pagingScrollView.pagingEnabled = YES;
    //pagingScrollView.backgroundColor = [UIColor blackColor];
    pagingScrollView.showsVerticalScrollIndicator = NO;
    pagingScrollView.showsHorizontalScrollIndicator = NO;
    pagingScrollView.contentSize = CGSizeMake(pagingScrollViewFrame.size.width * [self imageCount],
    pagingScrollViewFrame.size.height);
    pagingScrollView.delegate = self;
    [self.view addSubView:pagingScrollView];
    // Step 2: prepare to tile content
    recycledPages = [[NSMutableSet alloc] init];
    visiblePages = [[NSMutableSet alloc] init];
    [self tilePages];
    Dirk

  • The sample data about ndm

    Hi,
    I am trying to understand the new features of oracle 11gR2.
    I have a oracle 11gR2 installation and trying out the NDM TUTORIAL.
    I am facing the following problems:
    I tried to download the sample data (.dmp)for San Francisco from NAVTEQ website,However,My access is always denied. So I don't kown what I can do next. If someone has downloaded that data succcessfully, may I share that data, and send it to me? my Email is [email protected]
    Thanks for your kindess!

    Hi,
    I checked and the data is still there. You can start at the Oracle Spatial page on OTN and click the link under Quick Picks (on the right) that says NAVTEQ Data, then slide down to "Download the NAVTEQ Map Content for San Francisco" there are instructions there. I'll reproduce them here, although if the directions change they will be reflected at the above location.
    Go to the NAVTEQ Network for Developers site: www.nn4d.com
    Register if you haven't registered, or log in
    Mouse ovet the "Build" tab
    Select "Sample Data" from the selections on the right
    Select the "Yes, I want to download sample data clips." radio button
    Click "Continue"
    Scroll to "Oracle Delivery Format (ODF) Data..."
    Click the Download link
    Hope thiis helps.
    Dan Abugov

  • About the subform sets samples.

    I was going through the samples, and I noticed that I couldn't find the source of the data in the samples. The files used are DataA.xml and DataB.xml, however, there is no Data Connection defined anywhere, or at least I can't find it. However, if I delete the xml files, an error shows, so it's obviously using them, somehow.
    Also there is no info in the Data View tab, and when I create a new Data Connection, there is always something there.
    Thanks!.

    Yeah, I could find after some research where the data was coming from, thanks anyway.
    In a related issue I'm having, if you have any idea why would this be happening, I'd greatly appreciate it!.
    I work with a colleague that is the one in charge of assembling the final pdf documents, when I give him the xdp and the xml file, it works ok if he opens it in Designer, however, in the Adobe Livecycle process, the data is not recognized, and the document renders as if there is no data present.
    I wonder, could this happen because the preview data feature is reserved for tests only?, and I would need to pass the data in another way?.
    Thanks!.

  • 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

  • Question about weblogic-cmp-rdbms-jar.xml

    WinNT 4.0 SP6, Weblogic 5.10
    In the online documents, it says:
    ---- digest from the online documents ----
    The following example finds all the EJBs in a table. It uses the
    sample finder method signature:
    public Enumeration findAllAccounts()
    throws FinderException, RemoteException
    The sample <finder> stanza uses an empty WLQL string:
    <finder>
    <method-name>findAllAccounts</method-name>
    <finder-query></finder-query>
    </finder>
    ---- End of digest ----
    However I implement it in my sample EJB, call findAllAccounts in the
    client JSP file, get a SQLException about "null after where".
    How can i solve this problem?
    Thanks in advance,
    Paul Shen
    Email: [email protected]
    WWW: shensr.8m.com

    In the DOCTYPE declaration, replace "weblogic-cmp-rdbms-jar" with
    "weblogic-rdbms-jar".
    Bob
    "Jason" <[email protected]> wrote in message
    news:[email protected]..
    >
    When I deploy my bean I get the following error:
    While reading META-INF/weblogic-cmp-rdbms-jar.xml, the EntityEJB's pers
    istence layer failed to deploy. The error was:
    Error in descriptor line 7: Document root element "weblogic-rdbms-jar",must ma
    tch DOCTYPE root "weblogic-cmp-rdbms-jar".
    atweblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    >
    >
    Here is my deployment descriptor: (weblogic-cmp-rdbms-jar.xml)
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-cmp-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'
    >
    >
    <weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
    <ejb-name>MessageEJB</ejb-name>
    <data-source-name>ora8lplxPoolDataSource</data-source-name>
    <table-name>Messages</table-name>
    <field-map>
    <cmp-field>msg_id</cmp-field>
    <dbms-column>msg_id</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>msg</cmp-field>
    <dbms-column>msg</dbms-column>
    </field-map>
    <field-map>
    <cmp-field>msg_date</cmp-field>
    <dbms-column>msg_date</dbms-column>
    </field-map>
    </weblogic-rdbms-bean>
    </weblogic-rdbms-jar>

  • When I ran the sample code(WebLogicContextExample.java)

    Hi:
    when I ran the sample code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some errors.
    Any Body can help me. Thx a lot!
    Anny Chen
    Here's error message:
    C:\weblogic>java examples.jndi.WebLogicContextExample
    WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
    Copyright (C) 2000 WebGain, Inc.
    null
    java.lang.NoSuchMethodError: java.lang.NoSuchMethodException: getNameInNamespace
    at weblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
    Context_WLStub.java:127)
    at weblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
    tub.java:146)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at weblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
    java:86)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:248)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    at weblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
    9)
    at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
    le(WLObjectInputStreamBase.java:269)
    at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:254)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    at weblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
    Stream2.java:25)
    at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
    oteContextFactoryImpl_WLStub.java:99)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
    ialContextFactoryDelegate.java:316)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:242)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java, Compiled Code)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
    71)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
    at javax.naming.InitialContext.<init>(InitialContext.java:146)
    at examples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
    :107)
    Initial context created
    Subcontext 'example' created
    Bound 'Example String created at 2000/1/3 &#19979;&#21320; 05:48:18' to 'example.one' for th
    e first time.
    Example finished successfully.

    This is very likely a CLASSPATH issue. Make sure weblogicaux.jar is
    at the head of your CLASSPATH.
    Mike
    "pamal" <[email protected]> wrote in message
    news:[email protected]...
    I just installed 5.1 with sp2 and have the same problem. Anyone know
    about this one?
    Anny Chen wrote:
    Hi:
    when I ran the sample
    code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some
    errors.
    Any Body can help me. Thx a lot!
    Anny Chen
    Here's error message:
    C:\weblogic>java examples.jndi.WebLogicContextExample
    WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
    Copyright (C) 2000 WebGain, Inc.
    null
    java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:getNameInNamespace
    >>
    atweblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
    Context_WLStub.java:127)
    atweblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
    tub.java:146)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    atweblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
    java:86)
    atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:248)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    atweblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
    9)
    atweblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
    le(WLObjectInputStreamBase.java:269)
    atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
    tInputStreamBase.java:254)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
    ectInputStreamBase.java:202)
    atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
    nputStreamBase.java:949)
    atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
    tInputStreamBase.java:308)
    atweblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
    Stream2.java:25)
    atweblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
    oteContextFactoryImpl_WLStub.java:99)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
    ialContextFactoryDelegate.java:316)
    atweblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
    textFactoryDelegate.java:242)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java, Compiled Code)
    atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    atweblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
    71)
    atjavax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
    at javax.naming.InitialContext.<init>(InitialContext.java:146)
    atexamples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
    :107)
    Initial context created
    Subcontext 'example' created
    Bound 'Example String created at 2000/1/3 &#19979;&#21320; 05:48:18' to'example.one' for th
    e first time.
    Example finished successfully.

  • Deployment of the sample application on Sun Solaris

    Hi,
    I have downloaded the sample application 'EJB Order Entry System' and its help file 'EJBDirections.pdf'. It gives details about deploying the application on the Oracle running on NT Server. Pl help me as I am facing problems in deploying a EJB component to the Oracle Jserver 8.1.7 running on the Sun Solaris. I am getting the following exception when I am trying to deploy in from my local system onto the Sun Oracle Server:
    call deployejb -republish -temp temp -u cs -p callserver -s sess_
    iiop://10.18.2.23:32800:ndb -descriptor empBeanDesc.ejb myBean.jar
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.........................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the server...
    Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.s
    erver.Messages'.
    Is there something wrong in the way I am trying to deploy the EJB. Pl advice.
    Thanks,
    Jagdish

    No problem.
    Make sure your resources are set at the proper location. Could be that tje jni.jar is under a 'lib' folder?
    Normally you don't have to worry about deployment a lot if you are using like Netbeans 7.2 or higher.
    When you press 'Clean and build' it creates your deployed files in the 'dist' folder.
    You can change specification by adapting the build.xml file.
    Of course lot of different possibilities are available for deployment!
    You can find lot of info here:
    [http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm|http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm]
    Important to know is if you want to work with
    - a standalone application (self-contained or not)
    - with webstart
    - or with applets
    (In my case I'm using webstart, but also Self-Contained Application Packaging (jre is also installed!)

Maybe you are looking for

  • Inserting data from one table into another table using PL/SQL

    HI, I am trying to insert values from one table into another using PL procedure, the values I want to retrieve from the table riverside1 are charac_id and charac_type and insert these values into another table called riverside2 , the stored procedure

  • Can no longer see Windows PC in Finder

    Ok, we have 3 macs and (1) PC on a network. We connect to the printer via the PC. Everything has been smooth up to 2 days ago. We can no longer see the PC in finder, in turn we can no longer access the shared printer. We have made no configuration ch

  • ERROR IN TO_DATE FORMAT

    Hi everyone, As you know exists an error: ORA-01855 AM/A.M. or PM/P.M This error gets when you try to execute some query like this: SELECT TO_DATE('01-01-2009 8:01:09 P.M.','DD-MM-YYYY HH:MI:SS PM') FROM DUAL In this query the value of varchar is "01

  • Create a Landed Cost Document based on GRPO using DI

    Hii All,            Could anyone tell me how to create a Landed cost Document(in Purchase Module)  based on GRPO using DI. Waiting For ur Reply Thanks in Advance Jennifer

  • How to open child node in Tree control?

    Hi All, I am using arrayCollection in my tree control. I want to open one child node based on name of that node. How to open that chid node? I tried tree.OpenItems and ExpandItem methods. IT is not working. Any idea how to do it?