How to delopy to specific OC4J Instance

Hi:
Under 9iasR2903 Java edition how do I specify which OC4J instance to delopy to from
Jdeveloper?
Under Jdev I have created all of the necessary deployment descriptors and would like
to deploy to a specific instance of OC4J running on my server. I can't find any
way to tell Jdev which instance to target.
Thanks,
Arthur Smith
Sun Certified Web Component Developer For J2EE Platform (SCWCD)
Sun Certified Programmer for the Java 2 Platform (SCJ2P)
You are the one! Don't think that you are. Know that you are!

Under the connections-Application Server node on the navigator you can define any extra OC4J instances. These are then available for deployment

Similar Messages

  • How to Keep the "Start OC4J instance" window or Forms Server always up 24*7

    Gurus -
    Can you please tell me how could I have the "Start OC4J instance" always up and running in my server. I want the Forms server ( 10g) up and running all the the time. please advice how could I do that. My DB is 11g and using the Oracle Devsuite 10g. Please advice
    Gurus - Can you please advice on this. Basically have developed a form and couple of users want to access that but get error " page cannot be displayed" and I figured out the "Start OC4J instance" windows gets closed automatically after some hours.
    so I wanted this OC4J instance to run 24*7 ( always) without closing by itself. Please advice how could I do that.
    Thanks
    Sheik

    Thanks a lot Steve,
    Just wanted to find out if there is no other work around on this except to have the Oracle App Forms server to install and up and running?
    I have 11g DB , so do I have to have 11g Oracle Apps Server or 10g Oracle apps server will be sufficient as the installed Devsuite is in 10g. Please advice
    OR
    Is there way we can setup this Oracle Apps forms server from the OEM console? or we have to do a seperate install for this Apps server.
    Other option I thought, which I am not sure will work out is the creat a scheduled task in windows and have this "Start OC4j Instance" scheduled to run always. Any ideas/commments on this.
    Thanks again for your inputs.
    Rgds
    Sheik

  • OC4J 10.1.3.0.0 :: How to create a Parent OC4J Instance ?

    Hi,
    I have an Oracle Application Server Instance on a Windows System :-
    D:\OraAppServer1\j2ee\home>ver
    Microsoft Windows 2000 [Version 5.00.2195]
    D:\OraAppServer1\j2ee\home>java -jar oc4j.jar -version
    Oracle Containers for J2EE 10g (10.1.3.0.0)  (build 060119.1546.05277)I have created two OC4J Instances & the hierarchy is as follows :-
    home
    |
    |
    |-------OC4J_SS1
    |
    |-------OC4J_SS2Now, I am trying to create an additional OC4J instance that can act as the parent instance for the two OC4J isntances. I am trying to setup a hieararchy that looks like this :-
    home
    |
    |
    |-------OC4J_SS
                  |
                  |-------OC4J_SS1
                  |
                  |-------OC4J_SS2The reason for this setup is to have a Parent JNDI NameSpace that the Child Instances can access. We are trying to setup JMS Queues ( File / Memory based Persistence ) & the applications in both the instances ( MDBs ) will be listening to the same Queues.
    We are trying to setup the Queues in the Parent OC4J ( OC4J_SS ) so that the applications in OC4J_SS1 and OC4J_SS2 can access the Queues.
    We noticed that the createInstance command does not have the facility to specify the parent - all the OC4J Instances seem to inherit from the default home instance.
    D:\OraAppServer2\opmn\bin>createinstance -?
    Error: Unknown argument: -?
    Usage:
    createinstance <arguments>
    where arguments are:
      -instanceName <name> :Name of new instance to be created.
      -port <http port>    :(optional)User specified HTTP port.
                            Required in J2EE Server and Process Management
                            install type only.
      -startASControl      :(optional)Start the Application Server Control
                            when starting this new instance.
      -ASControlIsRoutable :(optional)Make the Application Server Control
                            routable when started.We do not want to play with the home instance - instead, we want to deploy our solutions in our own OC4Js.
    Can you please guide us in this solution ?
    Please do let me know if I need to include any other information.
    Regards,
    Sandeep

    Hi Steve,
    Thanks again - I was able to create a Group & put the OC4J instances that I need as a Group.
    It's a very useful feature.
    Now, when I check the Administration page for the Group,
    I notice that I can " Create/delete/view _____________ for the instances in this group."
    I do not want to replicate the JNDI Connection settings for every instance in my Group
    ( the # could easily bloat up to 5 / 6 in the future ).
    I am trying to create a common JNDI Lookup Service that will be available to both the OC4J Instances.
    It's something like this:-
    |          |
    |   OC4J_SS1     |
    |          |
    |          |
         |
         |
         |
         V
    |          |------> jdbc / xxxxx
    |   Group JNDI  |------> jms  / xxxxx ( especially, file based Queues )
    |   Bindings     |
    |          |
         ^
         |
         |
         |
    |          |
    |   OC4J_SS2     |
    |          |
    |          |
    ----------------Is this possible in OC4J ? Or, do I need to use a heavy duty product like the
    Oracle Internet Directory to achieve this ?
    Can you once again post some Documents / WhitePapers that discuss this ?
    Regards,
    Sandeep

  • Integrate Apache with OC4J instance

    Hi all,
    How to integrate mod_oc4j with apache so that I can route the request from apache http server to a specific oc4j instance.
    thanks
    Jayson

    This guide explains how to do it with the Apache2 version that comes on the Companion CD:
    http://download-uk.oracle.com/docs/cd/B25221_03/web.1013/b25777/config.htm#sthref90

  • One Oracle Application Server and multiple OC4J Instances

    While we are getting new server (for development) we have to set-up a Development and Production enviroment for our project (dont have previous OAS installation) but on the same machine.
    So, is a good option to have One OAS INstallation (Ora Home) and then create multiple OC4J instances, one for each environment (Development, QA and Production)?, is it possible? How to manage deployments between OC4J instances, simulating different contexts if they are in the same server and under the same HTTP Server? Will be there conflicts?

    Hi,
    you can do this and OracleAs will manage the different instances. The deployment can be done with Enterprise Manager in which case you select the OC4J instance first before deploying. If deploying from JDeveloper, you can specify the OC4J instance when creating the named connection
    Frank

  • How  to deploy on different OC4J than "home" on Application Server

    Hi
    I've a JSP/Struts Application which runs well in JDeveloper and runs well if deployed to the "home" instance of Oracle Application Server 10g Release 3. However, we want to deploy this Application to a separated OC4J (keeping different Applications separated). So I'm trying to create a second OC4J instance in Application Server in order to deploy my application. This seems to be quite complicated !
    Can anyone point me to some information on how to create a new OC4J Instance in Oracle AS 10g with all necessary BC4J- and ADF-Libraries in order to deploy an application?
    Thanks

    pls use the em website to create the new oc4j stance,you can access em by http://yourashost:1810
    then ,you may deploy the project to a ear file and deploy it on new oc4j stance in em website.
    maybe i do not make me understood,::)

  • How do I create a second instance of oc4j in a standalone enviroment

    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Phil

    jphilb wrote:
    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Philgday Phil -- Melli Annamalai from the Oracle Server PM team pointed me to your question. I was an OC4J Product Manager before we bought out BEA and I swapped over to WLS -- so I have some information below that hopefully is of assistance to you.
    Since you are using OC4J standalone, the simplest way to get a second instance, is to just clone the existing, whole directory structure of your working OC4J instance into another directory, and configure/run it from that directory. To map the OracleSemDS to another target (QAR) you change the data-sources.xml file in the second instance. If you want to run them concurrently on the same server, you'll need to change the ports in the second instance so they have unique values: default-web-site.xml, rmi.xml, internal-settings.xml, jms.xml. These additional ports can be specified on the command line as a Java property string, albeit this is not a documented nor supported feature. See http://buttso.blogspot.com/2007/02/specifying-oc4j-standalone-ports-from.html for more information.
    Now as an example, assuming you have your OC4J you want to clone in the dev directory, and now want to create a second instance of OC4J in qar, I'd do this:
    cp -rp dev/* qar
    cd qar/j2ee/home/config
    vi data-sources.xml
    (edit any other files if needed to alter ports) ...
    cd ..
    java -jar oc4j.jar That should work, and should create the second instance using the current configuration (ie dev) as its basis (including deployed apps). Of course, you'll need to manage them independently from here as they really are just two separate OC4J standalone instances.
    Now what else you could potentially do is to create a secondary configuration file subset only which only changes the necessary files to support running the second instance. In this case, you'd make a copy of the j2ee/home/config/server.xml, j2ee/home/config/application.xml and j2ee/home/config/data-sources.xml files, renaming them to qar-server.xml, qar-application.xml and qar-data-sources.xml.
    Then do the following:
    1. In qar-server.xml file, you'd change the global-application application to point at qar-application.xml instead of application.xml:
    <global-application name="default" path="qar-application.xml" parent="system" start="true" />
    2. Change qar-application.xml so that it used the qar-data-sources.xml file:
    <data-sources path="qar-data-sources.xml" />
    3. Change qar-data-sources.xml file so it points to the qar database target.
    4. Start OC4J, telling it to use qar-server.xml instead of the default server.xml
    D:\java\oc4j-10135-prod\j2ee\home>java -jar oc4j.jar -config config/qar-server.xmlI think you could run into some concurrency problems if you try and run the two instances simulataneously, but in general it should be OK I think if you run them separately.
    Another solution here is look at how the application specifies/uses datasources. The hard coding of the data-source name into the applicaiton via a direct JNDI lookup works, but restricts the flexibility you as a deployer/administrator has.
    If the application used the Java EE resource-ref approach to look up and use the datasource, then the actual JNDI name of the datasource the application uses it totally abstracted from the actual physical name of the datasource that is created on the container -- so you'd have DEVDS and QARDS as physical datasources configured and running on OC4J -- and what happens is that as you deploy the application, you essentially map its lookup and use of OracleSemDS (which would need to change to a java:env/ namespace) to the physical datasource you want it to use (DEVDS or QARDS for example). You can easily alter this post deployment by changing the generated orion-application.xml file to point at the alternate physical datasource. Following that, you can also create separate deployment plans which map the app to the different datasources, then feed this in with the deployment operation so that the correct mapping to either DEVDS or QARDS is done during the deployment process.
    I don't know what scope you have to change the application so the above may not be possible -- you'd need to change the lookup code so that it uses the Java EE reference model and change the meta-inf/application.xml to add the corresponding resource-ref entry which declares the logical datasource name that needs to be mapped on deployment.
    Another approach here may be to use an application embedded datasource, where you put a data-sources.xml file into the application archive itself (along with an orion-application.xml file which references it) whereupon at deployment time, a datasource specific to the application will be created. In this manner, you'd have say two copies of the same application to deploy (DEV, QAR) which contain different data-sources.xml file. From memory, each application will have its own JNDI namespace so their datasources can co-exist with the same names, with application level data-sources overriding server level ones. Since you'll most likely want to keep the same context-root for the web modules (which has to be unique per server) you'll generally need to run just one of the applications at a time. I'd do this like this: deploy one, stop it, deploy the other, stop it, then start only the one you need to test. In that way, you'll have one copy of the application running (either DEV or QAR) and one datasource definition running within it.
    Here's some documentation links to get you going:
    Managing Application Lifecycle (start, stop): http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13978/adminclient.htm#BABHJAFE <-- describes admin_client.jar but general principles apply to ascontrol management of application.
    Packaging and Testing Applications: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13979/packag.htm#BHCFBEEC
    Application Level DataSources: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/datasrc.htm#CHDIBFHG
    Using Deployment Plans: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13980/deployplan.htm#CHDFEFAE
    cheers
    -steve-

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • How to create new OC4J instance in AS 10.1.3 with BC4J- and ADF-Libraries

    Hi
    I have done all the steps mentioned in this thread:
    How to create new OC4J instance in AS 10.1.3
    However, the new created OC4J instance obviously misses some libraries. If I deploy my Application to this OC4J I get an internal error: Class not found: oracle.jbo.JboException.
    The same Application runs well in the "home" Instance.
    What is the trick, to create a new OC4J instance, which more or less behaves the same way as the "home" instances (and especially has all the same libraries)?
    Thanks for your help
    Frank Brandstetter

    I encountered this last month. I definitely agree that it is a glaring omission to not have "Create Like" functionality when instantiating new containers. Here's my notes on the manual steps required after using createinstance to create the fresh container. Not too bad. I've been deploying ADF applications to the new container with no problems after this.
    ==============
    The default (home) OC4J container is pre-configured for ADF 10.1.3 applications; however, when $ORACLE_HOME/bin/createinstance is used to create additional containers, these containers are not configured automatically to host ADF 10.1.3 applications.
    I followed these manual steps:
    1. $ORACLE_HOME/j2ee/home/config/server.xml defines three shared libraries that "install" the needed JARs for Oracle ADF applications in your application server instance (container). Note that "install" does not necessarily mean available to applications (see Step 2). Copy the three shared library element definitions to the <application-server> element of your new container (in server.xml).
    <shared-library name="oracle.expression-evaluator" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/jlib/commons-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/oracle-el.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jsp-el-api.jar"/>
    </shared-library>
    <shared-library name="adf.oracle.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    <shared-library name="adf.generic.domain" version="10.1.3" library-compatible="true">
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/bc4jdomgnrc.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/lib"/>
         <code-source path="/usr2/oracle/as10130/jlib/commons-cli-1.0.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/concurrent.jar"/>
         <code-source path="/usr2/oracle/as10130/mds/lib/mdsrt.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/share.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/regexp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/xmlef.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfmtl.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adfui.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/adf-connections.jar"/>
         <code-source path="/usr2/oracle/as10130/BC4J/jlib/dc-adapters.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordim.jar"/>
         <code-source path="/usr2/oracle/as10130/ord/jlib/ordhttp.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/ojmisc.jar"/>
         <code-source path="/usr2/oracle/as10130/jlib/jdev-cm.jar"/>
         <code-source path="/usr2/oracle/as10130/lib/xsqlserializers.jar"/>
         <import-shared-library name="oracle.xml"/>
         <import-shared-library name="oracle.jdbc"/>
         <import-shared-library name="oracle.cache"/>
         <import-shared-library name="oracle.dms"/>
         <import-shared-library name="oracle.sqlj"/>
         <import-shared-library name="oracle.toplink"/>
         <import-shared-library name="oracle.ws.core"/>
         <import-shared-library name="oracle.ws.client"/>
         <import-shared-library name="oracle.xml.security"/>
         <import-shared-library name="oracle.ws.security"/>
         <import-shared-library name="oracle.ws.reliability"/>
         <import-shared-library name="oracle.jwsdl"/>
         <import-shared-library name="oracle.http.client"/>
         <import-shared-library name="oracle.expression-evaluator"/>
    </shared-library>
    2. To make the necessary ADF and JSF support libraries available to your deployed ADF application, the default application (that your ADF application and the majority of applications should inherit from) should explicitly import the shared library in the <orion-application> element of $ORACLE_HOME/j2ee/<your container>/config/application.xml.
    <imported-shared-libraries>
         <import-shared-library name="adf.oracle.domain"/>
    </imported-shared-libraries>
    Note: the adf.oracle.domain shared library imports several other shared libraries including oracle.expression-evaluator.

  • How to do LDAP authentication in OC4J instance?

    Need to configure third party LDAP authentication for an application deployed in OC4J instance. How to configure this?

    Hi,
    I think that links will be useful to you!
    http://download-uk.oracle.com/docs/cd/B15904_01/web.1012/b14013/configoc4j.htm
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/security/jaznldap/index.html
    Afonso

  • How to attach a new servlet on my OC4J instance ?

    Hi there
    How to attach a new servlet on my OC4J instance ?
    Regards
    Den

    You can deploy your using JDeveloper:
    http://download.oracle.com/otndocs/tech/ias/portal/files/RG/OBE/deployToAppServer/lesson_Deployment.htm
    Or you can use the Application Server Control:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/deploy_em003.htm
    Maurits

  • How to fetch env. variable from OC4J instance

    At the launch of my application I want to fetch a variable value we have created on the iAS server at the application's OC4J instance level and under "Server Properties". I am unable to fetch anything using getHttpServletRequest() method. Does anyone know how to access OC4J server environment variables from an application?
    TIA,
    S

    See metalink note 268481.1 Re-creating ASM Instances and Diskgroups.

  • How i can Start OC4J Instance as window service

    hi ,
    How i can Start OC4J Instance as window service ?
    Regards
    Omar

    Omar,
    check
    http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
    Frank

  • How to specific database instance for powershell commnad New-SPConfigurationDatabase

    I'm runing powershell commnad New-SPConfigurationDatabase ,
    there is a parameter is
    DatabaseServer, how to specific database instance?
    Awen

    Hi,
    Just use the instance name for Databse server...like below.
     -DatabaseServer server2012sql\instancename –AdministrationContentDatabaseName SharePoint_Admin_Content
    Hope this helps.
    Cheers,
    Sangeetha
    -Sangeetha

  • How to start ascontrol application of oc4j_soa OC4J Instance

    Hi All,
    As per the Content DB Developer's kit we have configured the oc4j_soa OC4J to use OID, however the ascontrol application of this Instance is down and the ascontrol application of home OC4J Instance is up (I guess only one instance of ascontrol must be running at any point of time). However, I will not be able to create the connection to oc4j_soa with JDeveloper as it's ascontrol is not running...How can I make it up?..if I try to make it up from back end by changing the
    <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" /> start property to false in F:\product\10.1.3.1\OracleAS_1\j2ee\home\config\server.xml and <application name="ascontrol" path="../../oc4j_soa/applications/ascontrol.ear" parent="system" start="false" /> start property to true in F:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\config\server.xml and restart the SOA suite, I am unable to start the Appliaction Server Control page as the ascontrol of home is is refering to Applicatin server control page we are working on...so how to make the oc4j_soa's ascontrol up and running without loosing the access to Appl. Server Ctrl. page.
    Thanks
    Krrish

    Hi Krrish,
    This can only be done via the opmnctl command line tool.
    Subsequently run:
    - opmnctl stopproc process-type=home application=ascontrol
    - opmnctl startproc process-type=oc4j_soa application=ascontrol
    Then ascontrol runs in oc4j_soa.
    Although this is fine for development or when running SOA Suite in a Virtual Machine (and for cutting down memory consumption) it is not recommended for production deployments. In the latter case only run SOA Suite components in your SOA OC4J instance.
    Hth,
    Sjoerd

Maybe you are looking for

  • Java.lang.NoClassDefFoundError when doing Setting Up the Trading Partner

    i am getting Error - Unhandled Exception Setting Up the Trading Partner System Error : java.lang.NoClassDefFoundError while doing trading partner Create Communication Capability.

  • Photo Gallery pagination

    I have a client with a large gallery and I am wanting to do pagination with prev next and page numbers. Has anybody seen this using the photo gallery module not just a webapp?

  • Bb curve 8520 led light

    Is there a way I can change it from red to another colour. Only will download an app if it is the only option remaining... Thanks Solved! Go to Solution.

  • Document Title bar file path

    Hi there I see that when you hover the cursor over the title bar of a PS document the full path is displayed briefly in a tool tip. I was just wondering if there is a way to instead have this display permanently in the title bar itself, in place of j

  • Embedding of fonts into PDF document

    Hello people! I need to create a PDF document that has text in different fonts(Arial Black, Courier New, Lucida Sans etc.) and languages(English, German, Russian etc.). What is the best way to do this? How can I embed a font into a PDF document? I am