Which libraries are needed to compile ejb

To compile my own test ejb application that uses servlets as well as EJBs, what libraries do I need. I'm using Sun ONE Application Server 7 and trying to compile using javac.

Use appserv-ext.jar and appserv-rt.jar to your classpath while compiling your application.

Similar Messages

  • How can you determine at runtime which libraries are attached?

    Hi
    I am wondering if there is a way to determine which libraries are currently attached to a form at runtime. My application is in forms 10g.
    I am hoping to get the full path so that it is possible to show this in an information type display. I am ideally looking for a solution that works on both Unix and Windows so that it can be used in development and production
    thanks in advance
    Wayne

    I am curious, why you want to know which library is attached and the full path??? You cannot change it at runtime!!
    I don't think that's possible at runtime by using Generic Forms built-ins, But as always with Oracle, you can have several solutions.
    One solution is to initialize global variables/parameters in PRE-FORM and later you can read them and see the values and do whatever you want accordingly.
    When using Global variables, you can test for their DEFAULT_VALUE to check whether the variable exists or not, this will prevent getting an error if the variable hasn't been initialized yet.
    Tony

  • Which SCs are needed if I want to use KM related API in webdynpro

    Hi Gurus,
    I am using NWDI based development, i want to using KM api in webdynpro application. in the application, file will be uploaded using webdynpro fileupload component and stored in KM. I have read some tutorial and known which jars are needs. but I don't know which software component these jars belong to. I want to add that software component as dependent SC in my software component where my application resides.
    Any comment is appreciated.
    Best regards,
    John

    Hi,
    I was searching for the com.sap.security.api to be used in my NWDI project ... any idea in which DC I can find that library?
    Best regards,
    Martin

  • Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    I'm using Mac OS X 10.3.6, gcc3.3, CodeWarrior 9.0, and installed XCode1.5 too.
    I had installed Oracle Database 10g Client for Mac OS X fully.
    I'm trying to build the demo of OCCI. I can run the'make -f demo_rdbms.mk occimb1' command
    successfully, and generate a 'occimb1' execution file.
    But when I build 'occimb1' demo with CodeWarrior, the statement 'Environment::createEnvironment()'
    cause a error as below:
    Link Error : undefined:
    '_ZN6oracle4occi11Environment17createEnvironmentERKSsS4_NS1_4ModeEPvPFS6_S6_mEPFS6_S6_S6_
    mEPFvS6_S6_E' (code)
    Referenced from 'main' in occimb1.cpp
    I had already added these lib: libclntsh.dylib.10.1, libocci.dylib.10.1, libnnz10.dylib, libociei.dylib.
    Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    Hi,
    The same issue is faced by me when I was migrating my application from forms6i (oracle 8i) to forms 10g(oracle 10g).
    Solution:
    create a view based on the table on the other database (use db link)
    now create a synonym using this view and make it public.
    use this synonym in your form.
    It looks like something weared but this worked !!
    Try it !!

  • Which files are needed for connection to database in 11gR2?

    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?

    881656 wrote:
    I'm confused about the following files:
    sqlnet.ora
    tnsnames.ora
    listener.ora
    host file
    If I understand correctly, sqlnet.ora and tnsnames.ora can exist in both client and Oracle database server and listener.ora should only exist in Oracle database server. I guess host file can exist in both client and Oracle database server.
    I'm trying to understand which of the files are needed to access Oracle 11gR2 database using different tools such as
    sqlplus, SQL Developer, and Database Control on Oracle database server or from a client machine.
    If I'm on an Oracle database server, which of the files are needed for accessing 11gR2 database on that server for the different tools?
    If I'm on a client machine, which of the files are needed for accessing 11gR2 database on an Oracle database server for the different tools?sqlnet.ora is used to configure the actions of sqlnet on whatever machine. Some of the config parms available to it apply only to the server side, some apply only to the client side, some apply to both.
    tnsnames.ora is used by client processes to resolve a connect alias to a specicific host, port, and service. It is used ONLY by the client side of tns. You see it on host machines because those machines can also run client processes.
    host file. Oracle doesn't know what this file is. Oracle doesn't give a flying fig about this file. It is used by the standard network software in the OS to resolve a name to an IP address. The only reason you even see it discussed in the Oracle world is because Oracle TNS sits on top of the standard OSI network stack, and uses it. Thus, if your tnsnames file has an entry like:
    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = houston)
    #==========tns will never know or care where vmlnx01 is. The request will be packaged and sent to the standard network stack with a request to "route this package to vmlnx01, wherever that is.". The OS network stack will then resolve 'vmlnx01' to an ip address, by one of several possible methods. ONE of those methods is to look it up in the local hosts file.

  • HOW DO I FIND WHICH PLUGINS ARE NEEDED on pages that dont display?

    Question
    when i loginto my.t-mobile.com i get a circle of moving dots in a white screen over top of some of pages, and some pages have a moving circle like the QuickTime circle in place of the curser. i know its because ff needs a plugin or something installed but dont get info from ff as to what is needed. this site works perfect in IE8 (after IE8 loaded unknown to me which ones) some plugin.have upgraded to FF8, same problem. had same type problem on IRS free file website where pages wont show, but worked perfect in IE8. problem has to be that a plugin or addin needs to be installed but i can't get any info about which to work on.

    Very few apps actually run in the background, so, if you're talking about removing apps from the recently used list, that's unlikely to have any significant affect on your data usage. You should go to Settings>General>Background App Refresh and turn off background app refresh for those apps that you don't need to have using data in the background.
    You can go to Settings>Cellular and scroll down to see which apps are set to be able to use cellular data. Under each app name is the amount of data they've been using.

  • Which cables are needed to connect macbook 13" to HDTV

    Hi, was wondering which cables i needed to connect my 13" aluminium macbook to a samsung HDTV. There's so many on the apple store, not entirely sure what I need. Any help would be appreciated.
    thanks

    Can you clarify whether you're using a MacBook Pro or a PowerBook?  Your post is ambiguous.  For good measure please tell us when it was purchased new.

  • Finding out which jars are needed

    I am using an open source library. I am only using a fraction of its functionality, and the library is huge (it drags in many other JARs from other OS projects). This is making my install file very large, and I need to cut it down.
    If I take just the parts of the library I am actually using, is there any way to find out which of the other JAR files are still being used? It seems that a missing JAR at runtime might not be detected when the program runs up (is that correct?) but might result in a runtime error later on when Java tries to load the library.
    Is there a more methodical way of doing this than just removing various JARs and checking if it still works?

    Run app with -verbose:class - you can do this standalone or add parameter to JRE in the Java Control Panel
    (also enable tracing and then check result trace file).
    This option will list where each class is loaded from.

  • Sparc Soalris patch upgrade - which patches are needed ? (newbie)

    showrev gives :
    SunOS 5.10 Generic_127111-10
    I want to know if I need to install some patches (I am using this host as a high performance J2EE server)
    On http://sunsolve.sun.com/show.do?target=patchpage I type in 127111-10 and do find the patch and I read ...
    Summary: Obsoleted by: 127111-11 SunOS 5.10: kernel patch
    Then I search for that patch and I read it is also obsolete etc
    Surely there is a simple way for me to type in "127111-10" and read what exactly I should install.

    It's usually a good idea to install the current "Solaris 10_xxx Recommended Patch Cluster" every couple of months.
    Download from sunsolve: (800MB)
    Unpack
    Read Install Instructions, which usually say:
    Bring server to single-user mode and run ./install_cluster
    this installs all patches that are not already installed and fit to your installation automatically (can take 1-2 hours)
    In your case also install current "J2SE Solaris 10_xxxx Recommended Patch Cluster", which keeps all the java stuff patched.
    Installing a single patch mostly painfull, because there are always dependencies, which have to met (see patch Readme)
    Use this only in case of particular troubles.

  • What libraries are needed to use these functions

    Hey Guys,
    I have a short three line code,
    TTConnection conn;
    TTStatus stat;
    conn.Connect("DSN=MyDSN", stat);
    Just to compile & link this code what all libraries do I need ?
    I am using the following libraries,
    "-L C:\Dev-Cpp\lib -lttclasses70CS"
    "-L C:\Dev-Cpp\lib -ltten70.lib"
    "-L C:\Dev-Cpp\lib -lttdv70.lib"
    Is this ok
    - prashant

    It depends on whether the application is using client/server or direct mode connectivity to TimesTen.
    For client/server with TTClasses you need:
    ttclasses70cs.lib
    ttcl70.lib
    For direct mode you need:
    ttclasses70.lib
    ttdv70.lib
    tten70.lib
    If you want the application to dynamically use client/server or direct mode based on the DSN definition use:
    ttclasses70dm.lib
    odbc32.lib (Microsoft driver manager library)
    Note that there is a significant performance hit in using the driver manager.
    Chris

  • Which libraries are loaded ?

    I have a JWS application, using the Java Advanced Imaging library (JAI). On the developing machine JAI 1.1 is installed in lib/ext of JDK 1.3.1.
    Since a new version of JAI is out 1.1.1, I upgraded the webserver resources with this newer version and expected that the JWS application would use this one. Instead, the app continued to use the JAI library (1.1) installed in the local JDK. I expected that the library cached in the JWS cache would have the preference.
    In such a situation, a user could download a JAI version not supported by the JWS application from Sun's web site, install it in a local JRE. Does this mean that afterwards this unsupported version is preferred over the cached version ? This way a user could unwillingly corrupt a JWS application.
    Is there any way to force that the downloaded libraries in the JWS cache are used ? (I may even have applications, which use different version of a library).
    Thanks in advance for comments ...
    Thomas Guelden

    I think the problems, I described does not exist, since I have installed now a different JAI version on the local JRE and the web start app now uses downloaded one.
    I am sure that I observed the behaviour described in the original thread, but I cannot reproduce it. Sorry for inconvenience.
    To answer your question:
    In the case of Java Advanced Imaging (JAI), I load the native libraries using:
    if (jws != null) {
    System.out.println("Loading libraries ...");
    System.out.println("Starting in JWS mode ...");
    System.loadLibrary("mlib_jai");
    System.loadLibrary("mlib_jai_mmx");
    else {
    System.out.println("Starting in normal mode ...");
    Thomas Guelden

  • How do I know which plugins are needed

    Mozilla's newsletter has just prompted me to check my Firefox plugins. It found five that were up-to-date, all of which I recognise - sort of. I was surprised though that it found another 10 which it said were "unknown" and prompted me to "research". Some of these were pretty blue-chip, like McAfee SecurityCenter, and Google Update - some don't mean much to me. Four are "Real"Something.
    I guess I should get rid of those I don't need. My problem is - how do I know what I need? If I disable RealJukeBox, am I likely to find that something I use suddenly stops working? Clicking "Research" may tell me how to remove a plugin, but does not seem to tell me what it does and what uses it. (I think BBC iPlayer uses RealPlayer, so I probably should not remove that.)

    Find the ap in the App Store and tap on it to see more info. There will be a section with minimum system requirements.

  • Which roles are needed to call a BAPI in an ERP system?

    Hi,
    in a scenario I use a SOAP Receiver adapter to call a BAPI in an ERP system. In the SOAP adapter I configured User Authentication.
    The question is which role(s) does this user need that this scenario could work?
    Thanks and regards
    Patrick

    Hi,
    > I think this would be RFC Receiver Adapter )))
    No I use the SOAP Adapter to call the BAPI
    @ Siddhesh: I tried it with the roles given in your link
    - SAP_XI_ADMINISTRATOR_J2EE
    - SAP_XI_APPL_SERV_USER
    - SAP_XI_DEVELOPER_J2EE
    - SAP_XI_IS_SERV_USER
    But it's not working with these roles
    Regards
    Patrick

  • Time which pentium G860 needs to compile the latest linux kernel

    Hi
    I'm going to buy intel G860 processor but I wonder how long it takes to compile latest stable kernel (3.7.5) using this processor. Whether anybody who has this processor can check it? Kernel compilling is kind of benchmark for me.
    Please use
    make defconfig
    Last edited by Linkas (2013-01-28 17:57:20)

    Many criticisms of Xen can be found with a simple Google search. The biggest one seems to be the need to modify guest OS code to make it run properly with Xen, but that is going away as Xen adds support for AMD-V and Intel VT technologies. KVM is coming on strong in the virtualization market now and seems to be the accepted choice.
    That said, I'm not sure how you would setup the machine to properly host VMs with KVM.
    Also, you may want to Google kexec to research that restarting the kernel without rebooting idea.

  • Which libraries are accessible in custom components?

    hi there
    i am developing a custom component that has to access the repository. i found a tutorial for accessing it from a client application, but it needs quite a lot libraries such as adobe-repository-client.jar or adobe-livecycle-client.jar. i think there must be a way for a component, that is runing inside the appserver, to access the repository without this libraries. but i did not find any documentations for this.
    has anyone an idea or a link to a tutorial?
    greez
    ps: i know, it's not the appropriate category here, but there is no better one...!

    for everyone that is interested in this:<br />I figured out, that it seems to be possible to use all libraries as on client side. but it is not necessary to include them in the jar for deployment. just add a dynamic package import to the component.xml file, and the server handles everything itself!<br />it is really amazing how long that one has to search for such a solution! there is absolutely no documentation available! i hope that will become better in the future!<br /><br />greez<br /><br /><dynamic-import-packages><br />  <package version="1.0" isOptional="true">*</package>     <br /></dynamic-import-packages><br /><services><br />  ...<br />  ...

Maybe you are looking for

  • Printer Control App for iPad

    I use the above app mainly for scanning straight to my iPad and it is very good at that. I have one niggle in that I have to set the page size for each page I scan. Being a UK user A4 is the main paper size in use rather than US size. If we could set

  • Error while creation of BP

    Hi all,         while trying to add a BP, I'm getting an error,"The connected value was not found in table pricelists". I logged in as manager and set an alert to get a list  for BP creation. When i log in the database as a different user, then i'm u

  • Hard Drives won't sleep..

    I first installed Leopard on my machine in August 2008 and after about 15 minutes of no activity it would put my system/hard drives to sleep. I could walk in the room and wouldn't hear any sounds coming from the computer. Earlier this week, I had to

  • Empty BPEL process getting lost for multiple file reads

    Hi I have a empty BPEL process polling for files. It works fine when 1 or 2 files are put into the read folder. But when than 2 files are put the process is lost, and nothing happens. Is there any proper and tested method of handling this problem. Is

  • Need help for new iPod Nano user(s)

    Please help: My daughter has an iPod, with an iTunes account. My wife just rec'vd a Nano for Mothers Day. How can I install both iPods on the same computer? I don't want to screw this up. Can I add another user to the first iTunes/iPod account? Thank