How to specify global libraries?

Hello,
I'm newbie in Sun Studio,
please could any kind soul tell me how to setup global library paths e.g. boost?
I tried menu 'Tools->Libraries'. The 'Library Manger' window appears and has only 'Remove' button enabled, 'New Library' button is disabled.
Thank you.

Not sure what you mean by 'global library', but you can try and open project properties and click on Libraries in the Linker property. Here you have several options. What is it you are building? How did you create your project?

Similar Messages

  • How to specify specific libraries to be used by OC4J?

    We are using Oracle AS 10.1.2 and are using OracleConnectionCacheImpl as our DataSource implementation. We'd like to do some tracing and logging from within the impl but are informed by the logging output that we need to use libraries set up for tracing & debugging (meaning we need for the application server to use ojdbc14_g.jar). How do make OC4J use this particular library when it creates its cached datasources?

    Create a new SSLContext for every connection; configure it with its own KeyManager that has access to the appropriate private keys and certificates; and create the SSLSocket from that SSLContext.

  • How to specify -userThreads in standalone OC4J

    I'm running standalone OC4J v10.1.3.2.0 on a linux machine.
    When trying to use a servlet which creates it's own thread, I receive an error message asking me to start oc4j with -userThreads option.
    I've tried to start oc4j with this option but it complains that it's not a valid argument.
    I start oc4j using oc4j -start normally.
    Is this something which needs to go into server.xml or do i need to edit this control script ?
    thanks
    Here's my server.xml file:
    <?xml version="1.0"?>
    <application-server xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd" application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="../applib"/>
    </shared-library>
    <shared-library name="global.tag.libraries" version="1.0" library-compatible="true">
    <code-source path="../../home/jsp/lib/taglib/"/>
    <code-source path="../../../j2ee/home/jsp/lib/taglib/"/>
    <code-source path="../../../lib/dsv2.jar"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="soap"/>
    </shared-library>
    <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
    <code-source path="../../../toplink/jlib/toplink-essentials.jar"/>
    <import-shared-library name="oracle.jdbc"/>
    </shared-library>
    <rmi-config path="./rmi.xml" />
    <jms-config path="./jms.xml" />
    <javacache-config path="../../../javacache/admin/javacache.xml" />
    <j2ee-logging-config path="./j2ee-logging.xml" />
    <log>
    <file path="../log/server.log" />
    </log>
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" extdirs="/usr/java/j2sdk1.4.2_04/jre/lib/ext" />
    <global-application name="default" path="application.xml" parent="system" start="true" />
    <application name="javasso" path="../../home/applications/javasso.ear" parent="default" start="false" />
    <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" />
    <application name="rms" path="../applications/rms.ear" parent="default" start="true" />
    <application name="keyboard" path="../applications/keyboard.ear" parent="default" start="true" />
    <application name="Services" path="../applications/Services.ear" parent="default" start="true" />
    <application name="dms" path="../applications/dms.ear" parent="default" start="true" />
    <application name="tipsoftheday" path="../applications/tipsoftheday.ear" parent="default" start="true" />
    <application name="dbs" path="../applications/dbs.ear" parent="default" start="true" />
    <global-web-app-config path="global-web-application.xml" />
    <transaction-manager-config path="transaction-manager.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    <cluster id="81178019567020" />
    </application-server>

    Hi Andy --
    It's actually a command line switch:
    $java -jar oc4j.jar -userThreads
    I'm not sure why its not encompassed within the server XML file.
    There's no apparent place you can easily specify this and have it work with the oc4j.sh script you are using, but you could tack it onto the CMDARGS local var that is set
    set CMDARGS=-config "%SERVER_XML%" -userThreads
    Or if you are a shell scripter, then change the script to pick up CMDARGS based on what is set as an ENV var or another element settable in the script -- like how the JVMARGS is done.
    In the meantime, just start OC4J directly from the j2ee/home directory with the -userThreads switch
    $java -jar oc4j.jar -userThread

  • How to symlink vendor libraries in DW? It doesn't consider that a library is in the local site folde

    Here's my question on Stackoverflow.
    http://stackoverflow.com/questions/13223428/how-to-symlink-vendor-libraries-in-dw-it-doesn t-consider-that-a-library-is-in
    And here I duplicate it. Please see on Stackoverflow because I'm afraid I'll not be able to format my question here right way using these forum tools.
    I use Win XP and Dreamweaver. I have ZF2 project. Here its "site root directory", using DW words:
    application_root/
        config/
            application.config.php
            autoload/
                global.php
                local.php
                // etc.
        data/
        module/
        vendor/
        public/
            .htaccess
            index.php
        init_autoloader.php
    I have it here C:\xampp\htdocs\mySite
    In /vendor directory there must be ZF2 library. But I have it in other directory'C:\xampp\htdocs\ZF2' and just want to put symlink to it in my /vendor directory.
    But if do so DW considers that ZF2 library is outside of my project directory. For example I want to require a class:
    require_once('\Zend\Mvc\Application.php');
    But DW says:
    This file is outside of the root folder of site "mySite", and may not be accessible when you publish the site... Would you like to copy the file there now?
    No, I don't want to copy. I don't want to make a score of the same library in every directory of my projects. But DW seems doesnt allow to do it. It makes me to copy only.
    So my question is. Is it possible to set DW that it allows to use symlinks to include libraries which are not in the "site root directory"? How to do it?
    I've read this http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html , but it doesn't help. It has one sentence about the problem and that's all it has. It absolutely doesn't give the answer how to solve it.
    However, this results in two identical copies of every file. Instead it's common practice to store project files in a folder inside the document root of the testing server, which is what you'll do in this tutorial.
    And there is nothing in the tutorial about the problem.

    Non-Windows browsers do not have a concept of a "trusted" site. In Windows, IE and Chrome do not repeatedly prompt for credentials because they use the user's login credentials on the desktop. Other devices do not have this capability. Instead,
    you need to use something like ADFS to authenticate users.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to use external libraries jar files in the composite application?

    Hi,
    I have some external jars files (which consists of java classes) that I would like to use in my composite application. 
    I have created a DC with type as external library for the jars.  However, I don't know how to specify the DC to be used in my caf application.
    Can anyone help?
    Thanks.
    Regards,
    Fui Voon

    Hi,
    My jar files consists only java classes and a manifest.mf. The files are compiled using jdk 1.4.2-b28.  Will this be any issue?
    It seems that if I ignore the error and continue step 7 which is to do deployment of the ear, the error given is
    Cannot update it.
    Caused by: com.sap.engine.library.bytecode.cf.CFException: Invalid constant pool tag, 60 at index 41.
    Does anyone know what that mean?
    Is there any sample that teach how to deploy external libraries as bundled library?
    Thanks.
    Regards,
    Fui Voon

  • How to remove inherited libraries in oc4j 10.1.2

    I'm facing a problem in oc4j 10.1.2.0.2. I want to remove
    an imported shared library from a j2ee application deployed in oc4j.
    In oc4j 10.1.3 adding the following code in orion-application.xml will remove the specified library:
    <imported-shared-libraries>
    <remove-inherited name="global.libraries"/>
    <import-shared-library name="oracle.xml.security"/>
    </imported-shared-libraries>
    In oc4j 10.1.2 this functionality is not possible.
    Is there any other way to remove inherited libraries in oc4j 10.1.2 so that
    my application is forced to use the default libs deployed with the war?

    Problem solved: I added the line
    <web-app-class-loader search-local-classes-first="true"/>
    in the global-web-application.xml of the specified oc4j instance.

  • How to use additional libraries in a project

    I am trying to call an existing EJB from page bean. And for the life of me, I can not figure out how to add additional libraries to Creator project.
    Is it supported at this stage?

    Right click on the References node in the project navigator and select: Add New Library Reference. In the subsequent dialog, specify the path to the jar file you wish to include. This library will be automatically added to the application classpath at design time and deployed with the application when you run the project.

  • How to specify -preview when launching via AppleScript

    I have an InDesign Server CS5.5.I have a shell script that waits for xml files to be placed into a certain directory on the server. When it sees a file in the folder it launches an applescript that controls InDesign Server. I need to know how to specify the -preview option for the InDesign Server binary so the files generated by the server will have previews when they are opened in InDesign client. The apple scripts look like this:
    tell application "InDesign Server"
         -- do some stuff
    end tell
    Where/how would I specify the -preview option. I see nothing referring to the -preview option in the Library for indesign.

    There's two ways to set it:
    1) in command line when you launch the executable, there's a preview option. I don't remember off hand the exact syntax.
    2) In the script itself (using Javascript syntax -- Applescript would be similar) app.serverSettings.imagePreview = true;
    Harbs

  • How do I transfer Libraries from one computer to the other?

    ok i know this might sound like a dumb question but i have no idea how to do it how do i? i downloaded another library onto this computer but it wouldnt transfer any of my songs so how do i transfer libraries??

    Probably the most straightforward way to get iTunes onto your new computer is to network it with the old one and copy your iTunes folder across. This works fine if you have been using iTunes to completely manage your music and all your songs are in iTunes Music not in different folders. You can also use this method with an external hard drive, you drag the folder from the old computer to the external drive and then from the drive to the new computer. If the songs in your library are not all in the iTunes Music folder you can consolidate them. When you consolidate, any songs in the iTunes Library that are not in the iTunes Music Folder are copied to the Music Folder and the Library is updated to point to those new files. Files already in the iTunes Music Folder have no changes made to them: Copying all your iTunes files to one location - Windows
    Copying the whole folder brings with it the iTunes Music folder and also the iTunes Library (iTunes Library.itl in Windows) database file which holds all the information about your songs (Playlists, Ratings, Play Counts, Last Played, Date Added, etc). You'll get more information including the Folder/File structure in this article: What are the iTunes library files?
    When you copy the iTunes folder make sure you put it into the same location on the new computer. This has to be the exact same place, on a PC this is \Documents and Settings\Username\My Documents\My Music\. When you open iTunes on the new computer it will be the same as on the original one Songs, Playlists, Play Counts, Ratings etc. When I moved iTunes a while ago for my daughter I was also using the same version of iTunes, not sure how important that is but it's probably worth keeping them the same.
    If you have an iPod it can be used as an external drive and you can move the iTunes folder onto it: How to use your iPod to move your music to a new computer

  • How to specify a variable in the script logic

    I want to pass a variable from the process chain using the prompt statement.
    I  want to refer to the variable name in the script. When I used the following statement in the script file, I got an error when validating the statement below:
    //Increase Wage and Salary & Personnel Exp. by entered percentage
    [P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
    Syntax error:Reference Error: $WS_PERCT$  is not defined
    One of the how-to guides indicated that I should use the dollar sign before and after the variable name.
    Can someone explain how to specify a variable name in the script.
    Thanks.

    Thanks, Pravin.
    I tried using the syntax with the # sign (as shown below) but when I validate the code I get an error. The message indicates there is an issue with $WS_PERCT$.
    Syntax error:Reference Error: $WS_PERCT$ is not defined
    P_ACCT].[#CE0004020] = [P_ACCT].[CE0004020] * ( 1 + $WS_PERCT$ / 100)
    Can you please advise if am missing something here in the code.
    Edited by: Sanjay Kumar on Sep 24, 2009 10:06 PM
    Edited by: Sanjay Kumar on Sep 24, 2009 10:08 PM

  • How to specify  tablespace for a primary key inde in create table statement

    How to specify the tablespace for a primary key index in a create table statement?
    Does the following statement is right?
    CREATE TABLE 'GPS'||TO_CHAR(SYSDATE+1,'YYYYMMDD')
                ("ID" NUMBER(10,0) NOT NULL ENABLE,
                "IP_ADDRESS" VARCHAR2(32 BYTE),
                "EQUIPMENT_ID" VARCHAR2(32 BYTE),
                "PACKET_DT" DATE,
                "PACKET" VARCHAR2(255 BYTE),
                "PACKET_FORMAT" VARCHAR2(32 BYTE),
                "SAVED_TIME" DATE DEFAULT CURRENT_TIMESTAMP,
                 CONSTRAINT "UDP_LOG_PK" PRIMARY KEY ("ID") TABLESPACE "INDEX_DATA"
                 TABLESPACE "SBM_DATA";   Thank you
    Edited by: qkc on 09-Nov-2009 13:42

    As orafad indicated, you'll have to use the USING INDEX clause from the documentation, i.e.
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE TABLE GPS
      2              ("ID" NUMBER(10,0) NOT NULL ENABLE,
      3              "IP_ADDRESS" VARCHAR2(32 BYTE),
      4              "EQUIPMENT_ID" VARCHAR2(32 BYTE),
      5              "PACKET_DT" DATE,
      6              "PACKET" VARCHAR2(255 BYTE),
      7              "PACKET_FORMAT" VARCHAR2(32 BYTE),
      8              "SAVED_TIME" DATE DEFAULT CURRENT_TIMESTAMP,
      9               CONSTRAINT "UDP_LOG_PK" PRIMARY KEY ("ID") USING INDEX TABLESP
    ACE "USERS"
    10               )
    11*              TABLESPACE "USERS"
    SQL> /
    Table created.Justin

  • How to specify a variable in the path prefix of an External HTTP (RFC) connection (in transaction SM59)

    Hi There,
    Please can someone tell me how to specify a variable in the  path prefix of an External HTTP (RFC) connection in transaction SM59?
    For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
    Thanks,
    Brendon

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • How to configure global transaction wthin Oracle AS JMS and Oracle JMS

    How to configure global transaction if I take a message from Oracle JMS(AQ) and send it to the Oracle JMS?

    Which version of OC4J are you working on?
    In OC4J 10.1.3.x, presume your OC4J JMS listens messages via MDB which uses a resource adapter as a message listener. The resouce adaper could be the generic JMS adapter deployed in OC4J as the default.
    Resource adapter configuration to support MDBs is included in the standard ra.xml file, which lists the message listener types that the resource adapter supports.
    The MDB developer or deployer configures the MDB in the ejb-jar.xml file, through a <message-driven> element.
    In addition to above, configuration in the ejb-jar.xml file specifies whether an MDB uses transactions.
    1) The <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Container, and the <trans-attribute> subelement of <container-transaction> (under the <assembly-descriptor> element) has a value of Required. In this circumstance, if there is an imported transaction, then message delivery and related work are performed within that transaction. If there is no imported transaction, OC4J creates a transaction, and message delivery and related work are performed within that transaction.
    2) The <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Bean. In this circumstance, the MDB manages the transaction. If a transaction is imported, OC4J will suspend it before the message delivery method call to the MDB, in order to avoid conflict.
    Message delivery is not transacted if the <transaction-type> subelement of <message-driven> in ejb-jar.xml has a value of Container, but the <trans-attribute> element has a value of NotSupported. If there is an imported transaction in this circumstance, OC4J will suspend the transaction before the message delivery method call to the MDB.
    Details could be found from OC4J Resource Adapter Guide.

  • How to specify URL in server.xml of Tomcat

    Hi Everybody,
    I need help.How to specify url in the server.xml.
    I developed one application in the Tomcat 3.3.I want to access the by entering uri(like:http:test.com).
    What are tags to enter in the server.xml.
    Right now i am accessing like:http://localhost:8080/Test/Login.jsp
    I want replace this with (www.test.com).
    This site will access from anywhere means it is going to live.
    So what are things have to do in the server.xml
    Please provide the solution.
    Regards
    Sridhar

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • How to specify HTML meta tags?

    I'm trying to get a portal to always have the following an HTML meta tag in the head of the generated HTML:
    <meta name="ROBOTS" content="NOFOLLOW" />
    I haven't seen any documentation about doing this in particular, but looking at some of the XML schema (*.xsd) files in various weblogic-specific jars, it seems like maybe the following would work in the <netuix:head> tag of the .portal configuration file for the portal:
    <netuix:head>
    <netuix:meta name="ROBOTS" content="NOFOLLOW" />
    </netuix:head>
    However, this does not seem to work.
    Also, I've checked the skin.properties file to see if there are any comments about how to specify meta tags, but there aren't any.

    Turns out there are a number of ways to do this. A BEA consultant recommended modifying the "head.jsp" for the portal's skin.
    Alternatively, it dawned on me that all I had to do was put the meta tags in a jsp and use that jsp in the head area of the .portal file. For example:
    <netuix:head>
    <netuix:jspContent contentUri="/resources/jsp/customHead.jsp"/>
    </netuix:head>

Maybe you are looking for