Using third party libraries

Hi,
I have an oc4j application which refers to certain third party libraries ( jar files).
Which xml files should I be making an entry in, for the application to refer to these jar files?
Regards,
Rishikesh R.

The <library-directory> element of the application.xml file specifies either a relative or absolute path or URL to a directory or a JAR or ZIP archive to add as a library path for this OC4J instance. Directories are scanned for archives to include at OC4J startup.
-Frances

Similar Messages

  • Using Third Party Libraries in J2ME IDEs

    How easy is it to use functions from a third party library in J2ME IDEs? Is it usually just a matter of including the library or is more configuration involved?
    Thanks for your time.

    I had this problem a year ago. I'm surprised it hasn't been fixed yet. Here is what I had to do to create an external library DC for my third-party apis.
    - Create a java library DC.
    - Switch to resource view
    - Edit .dcdef to change component type to Library
    - Edit .project file, Delete Nature Java line
    - Restart IDE so that it shows as Library DC instead of Java
    - Switch to Resource View
    - Get all the third-party jar files into folder structure com
    - Copy and past the root folder into src (this would bring all class files)
    - Add build.vm in cfg folder (content #BuildSecondaryLibrary())
    - Add Public Part for API Reference (the IDE should allow to add the all the classes from the selected folder. You probably will have to select each classes manually. Very problematic when you have a lot of classes from your third-party provider)
    - Build and Deploy
    - Now go to your other project where you want to refer this external library DC
    - Add to the external library DC as used DC (select build and deploy options)
    - Build and Deploy
    - Make sure provider.xml in the sda file has reference to dfc lib (for some reasons the IDE doesn't want to reference the external library DC and just skip it despite the fact that you've selected build and deploy options when you referenced the used DC)
    - If not extract the SDA file, Edit the provider.xml, and zip back. then Build and Deploy

  • Login module access to third-party libraries?

    G'day,
    I have a simple login module that is currently deployed in Netweaver 2004s. It is callable by both Netweaver AS and Netweaver Portal, and was implemented using Netweaver Developer Studio.
    I would like to have this login module use third-party libraries, but I am not sure of the best approach to take here.
    Do I just drop the third-party libraries into the jre/lib/endorsed directory of the JDK, or is there a better way of putting the third-party libraries onto the classpath?
    When I edit the server/provider.xml file of the login module library in Developer Studio, it only allows me to make references to jar files that currently exist in the workspace. So adding references to external jar files does not seem to be supported here.
    Is there a proper place to drop third-party jar files, so that they can be used by my login module?
    --Geoff

    Hi,
       There are different ways. as you said You can either drop it in jre/lib folder or a clsspath setting will do.
    But some times the server will not be able to catch up those libs so You can set the path to these libs in config tool. This will ensure the server will take these libs for sure.
    If you have set the classpath NWDS will take this reference

  • No of classes, Methods, Lines of codes, DLL's used and Third Party Libraries details identifying tools

    We have started a project to migrate 100+ Web Applications developed using legacy Microsoft technologies to latest .Net 4.5 Framework.
    The following are the planned migration approach
    Classic Asp à                                                   
    Asp.Net 1.1 Framework à Asp.Net 4.5 Framework
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Direct Migration)
    Asp.Net 2.0, 3.5, 4.0 Framework à         Asp.Net 4.5 Framework (Application Rewrite
    using MVC/Entity Framework)
    VB 6 (COM/DCOM) à                                  
    C# .Net 4.5 (Web Services)
    We have to analyze 100+ applications to categorize them as Simple/Medium/Complex conversions for planning the timeline for completing the migration activities.
    Analysis includes identifying the following details - No of classes, Methods, Lines of codes, DLL’s used and Third Party Libraries  details
    for 100+ Microsoft applications.
    Could you please let me know do we have any effective tool to identify above mentioned details?

    This forum is for Microsoft Project Server, an EPM tool. You will need to find a more suitable forum for your question.
    Good Luck with the conversion!
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Confusion about third-party-libraries in different versions in CE 71.

    Hi
    After some research on the use of different versions of third-party-libraries in SAP netweaver CE 7.1, I am actually quite confused and would be happy if someone could shed a light on that subject....
    1. Is there a way to tell netweaver CE 7.1 to use a library in my WEB-INFlib-folder by simple configuration?
    E.g. we would like to use a third-party-lib in a newer version than the one which is loaded by CE 7.1. Many application server provide a simple configuration option (e.g inside META-INFapplication.xml) where the web as can be forced to use the library inside WEB-INFlib for this application.
    2.Is the concept of "heavy loading" described in a blog by Georgi Danov(Using Hibernate in SAP NetWeaver Composition Environment) the answer to question 1.?
    Does it also work for other third-party-libraries than hibernate? Does it work at all?
    3. In the blog mentioned in question 2, Mr. Danov is talking about "shared libraries". Does this mean, that I have to forget everything about "bundled" and "standard" libraries explained in help.sap.com/CE, if I want to create a heavy loader?
    He is referencing another blog (Applications and shared libraries) which is two years old? Can I still apply the information there to CE?
    4. Are "Bundled libraries" applicable when using different versions of third-party-libraries in CE 7.1?
    In "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    "Bundled libraries: These provide resources only to a single enterprise application, and are packed inside the application's EAR file."
    =>As I want to provide the lib only to my enterprise application, I will probably have to create a bundled library, right? Does this also work if netweaver CE 7.1 uses a different version of the same library?
    5. Do I need Netweaver Developer Studio for creating "bundled" libraries?
    Or can I copy the binaries in the WEB-INFlib-folder of my application, deploy it and use it?
    6. Is configuration of application-j2ee-engine.xml the right place to reference a third-party-library in a specific version which exists in WEB-INF/lib-folder in my application even if it exists also in another version on netweaver?
    => In the document "Troubleshooting: Finding Missing Parent-Child Relations" it says: "To implement the chain of parent-child relations in the deployment descriptor of the component, use either application-j2ee-engine.xml (for applications) or provider.xml (for libraries and services)."
    => "Creating standard libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f447a8d62b0484e10000000a155369/frameset.htm9 tells me, that I have to configure the file application-j2ee-engine.xml, too.
    => But in "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    "Standard libraries: These provide resources to all enterprise applications deployed on the server. They are packed in EAR files like the enterprise applications."
    => Does this mean, that I have to force Netweaver CE 7.1 to use a higher version of a certain third-party-library? Does this even work? Do all applications deployed on Netweaver 7.1 have to use this library in the higher version?
    It is really confusing to read through the documentation!!! Sorry for that avalanche of questions, but I really hope it will make the issue of using libraries (especially if they exist in different versions on the CE 7.1) a little clearer!
    Best regards
    Bettina

    Hi Bettina,
    I'll try to answer your questions:
    >
    > Hi
    >
    > After some research on the use of different versions of third-party-libraries in SAP netweaver CE 7.1, I am actually quite confused and would be happy if someone could shed a light on that subject....
    >
    > 1. Is there a way to tell netweaver CE 7.1 to use a library in my WEB-INFlib-folder by simple configuration?
    >
    > E.g. we would like to use a third-party-lib in a newer version than the one which is loaded by CE 7.1. Many application server provide a simple configuration option (e.g inside META-INFapplication.xml) where the web as can be forced to use the library inside WEB-INFlib for this application.
    >
    First of all, the appropriate docs are here: [http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm|http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm].
    Basically what you do is define a lib project in the studio and deploy it do the server. This may be less comfortable then just configuring manually, therefore it work better in larger environments because the server checks that libs are available in all running instances - which it could not do if you manipulate diretories manually  (an approach you should never attempt in any SAP envrionment)
    > 2.Is the concept of "heavy loading" described in a blog by Georgi Danov(Using Hibernate in SAP NetWeaver Composition Environment) the answer to question 1.?
    >
    > Does it also work for other third-party-libraries than hibernate? Does it work at all?
    >
    If Georgi describes it, I hope so, as he is one of our developers who knows best.
    > 3. In the blog mentioned in question 2, Mr. Danov is talking about "shared libraries". Does this mean, that I have to forget everything about "bundled" and "standard" libraries explained in help.sap.com/CE, if I want to create a heavy loader?
    >
    "shared" are all of theses libs, as otherwise they would be specific to an application.
    > He is referencing another blog (Applications and shared libraries) which is two years old? Can I still apply the information there to CE?
    >
    This was about anearly version of CE and even Georgi updated the blog this year to talk about slight differences. So yes, this still applies.
    > 4. Are "Bundled libraries" applicable when using different versions of third-party-libraries in CE 7.1?
    >
    > In "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    >
    > "Bundled libraries: These provide resources only to a single enterprise application, and are packed inside the application's EAR file."
    >
    > =>As I want to provide the lib only to my enterprise application, I will probably have to create a bundled library, right? Does this also work if netweaver CE 7.1 uses a different version of the same library?
    >
    That depends... Your application uses it's own classloader which means it should only use your libs in case there is another version available on the server. But if you're trying to deploy a lib that is used by a service of the server (int that case loaded by the server not your classloader!) I'm not so sure.
    > 5. Do I need Netweaver Developer Studio for creating "bundled" libraries?
    >
    > Or can I copy the binaries in the WEB-INFlib-folder of my application, deploy it and use it?
    >
    You need the Studio. No way around that. [Edit:] Sorry, misunderstood you here: I thought you want to copy something into the deployed directory on the server! - Of course, any deployment method would do it and though copying binaries seems to be valid. However,  I'm checking this currently with development in detail.
    > 6. Is configuration of application-j2ee-engine.xml the right place to reference a third-party-library in a specific version which exists in WEB-INF/lib-folder in my application even if it exists also in another version on netweaver?
    >
    > => In the document "Troubleshooting: Finding Missing Parent-Child Relations" it says: "To implement the chain of parent-child relations in the deployment descriptor of the component, use either application-j2ee-engine.xml (for applications) or provider.xml (for libraries and services)."
    >
    > => "Creating standard libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f447a8d62b0484e10000000a155369/frameset.htm9 tells me, that I have to configure the file application-j2ee-engine.xml, too.
    >
    > => But in "Working with libraries" (http://help.sap.com/saphelp_nwce10/helpdata/en/44/f4e00e56ec0486e10000000a155369/frameset.htm) it says:
    >
    > "Standard libraries: These provide resources to all enterprise applications deployed on the server. They are packed in EAR files like the enterprise applications."
    >
    > => Does this mean, that I have to force Netweaver CE 7.1 to use a higher version of a certain third-party-library? Does this even work? Do all applications deployed on Netweaver 7.1 have to use this library in the higher version?
    >
    >
    >
    > It is really confusing to read through the documentation!!! Sorry for that avalanche of questions, but I really hope it will make the issue of using libraries (especially if they exist in different versions on the CE 7.1) a little clearer!
    >
    > Best regards
    > Bettina
    Could you tell me what you're trying to deploy? I'll try to get Georgi on this....
    Regards,
    Benny
    Edited by: Benny Schaich-Lebek on Nov 5, 2008 1:40 PM

  • Third-party libraries in a JSC team project

    We're using Sun Java Studio Creator 2 Update 1 (JSC) for the project I'm working on. This project uses a few third-party libraries (jar files). Up until 2 weeks ago I was the lone member of the project team and all was fine. Then we added another team member and encountered an issue with the 3rd-party jars. In particular, since I had setup the 3rd-party libraries using the "Library Manager" facility, I had no problems with building and deploying the app, but when my team member got the code from the version control system, he could not compile due to an error saying something like "library not found". I'm looking for a way to setup the 3rd-party libraries for our project such that those jars are found during compilation (and included in the WAR file) while at the same time new developers do not have to use the "Library Manager" to configure all the libraries on their JSC install. I tried adding the jars to the project's "lib" directory, but that did not work unless I explicitly listed them in the compile path (using "Project Properties") and this used a hard-coded path to the jars. I would rather not require that every project team member use the exact same disk path to our project so I do not like this approach either.
    Any suggestions?

    As a best-practice for creating projects for version control, the jar files should be added as jars and not in a library unless the library points to jars that are at a common location on the network. You can add a directory to your project from the "files" tab called something like "projectlibs". Then add the 3rd party jar files here. When you add the jar to the project, make sure you check the "package" column which tells Creator to package the jar with the deployment.
    Cheers!
    -David

  • About Third-party libraries..

    Hello,
    1) Is there any tutorial that shows how to use third-party jar files in our projects, step by step? I tried :
    *Tools/Manage Libraries, then created new in "User" directory, Selected my jar files in class path then used Tools/Project Properties/Libraries/Add Library and selected the one that i added in previous step.
    However when i type
    import packagename.* it marks it as GRAY and does not do anything.. ?
    2) If i add, does it encrypt and compress my third-party jar file in my Main jar file? Or do i need to make it read from external directory by my code?
    If it does not ecrypt, how can i avoid people using the library that i used in my project when i give them my software?
    Thanks..

    hi GlenX
    Could it be that your JAR file you refer to in (1) contains your "library JAR" as a JAR file?
    It looks like using a "Library File Group" in a "JAR Deployment Profile" includes the "library JARs" as JAR file in the new JAR file created by the profile. It is possible to add the contents of "library JARs" using a "Dependency Analysis File Group" in a "JAR Deployment Profile".
    see http://verveja.footsteps.be/~verveja/files/oracle/JarStuffThread615655-v0.01.zip
    In JarStuffThread615655-v0.01.zip I have included two applications, "Thread615655MyToolApp" and "Thread615655MyClientApp" with in each one project (to avoid confusion about project dependencies).
    The MyClient.jpr project has a "MyTool project library" configured, referring to "MyTool.jar".
    So, you could try this scenario ...
    (1) open Thread615655MyToolApp.jws in JDeveloper
    (2) select "Deploy to JAR file" on MyToolDeploymentProfile.deploy
    (3) open Thread615655MyClientApp.jws in JDeveloper
    (4) select "Deploy to JAR file" on MyClientDeploymentProfile.deploy
    (5) double-click the "MyClient\deploy\MyClient.jar", and see the "vSomeMyToolValue = some MyTool value" shown on the panel in the frame.
    regards
    Jan Vervecken

  • Third party libraries for hibernate(jar files)

    Hi I am new in hibernate.I follow some steps of hibernate tutorial from
    http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html
    In chapter-1 1.2.3. Hibernate configuration when i try
    java -classpath ../lib/hsqldb.jar org.hsqldb.Server
    database should be started but it,s not
    most probably reason is also include third party libraries
    I try all but still not getting success.
    In command prompt I get ::
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\shobhitsingh>cd\
    C:\>cd hibernatet*
    C:\hibernateTutorial>java -classpath ../lib/hsqldb.jar org.hsqldb.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server
    C:\hibernateTutorial>pl guide
    Regards
    -S.Singh

    I'm sorry.I used classpath in wrong manner.I got where I'm wrong.
    Regards
    -S.Singh

  • How to use third party library (like .dll and .lib files) in flascc?

    I have a number of .dll and .lib files of the  third party library, which are generated from C++ code.
    I read about flascc on other web site says:
    "If you want to use third party library in your Flascc project,you must have either the source code or the linkable file which is compiled of the third party library   "
    Dose the linkable file mean .dll file or .lib file?
    AND
    How can I use the fuctions in them in my flascc project.?

    Native code is not interchangeable between platform.
    It means that you can't use library that wasn't build specifically for flascc.
    And when they say linkable files they mean libraries compiled for flascc, not any libraries.
    So if your libs are for windows, no luck, you have to recompile everything

  • How to do XMLDSig using third-party JCA providers?

    Hi all,
    Can anyone please let me know how to do XMLDSig using third-party JCA providers? The Sun XMLDsig documentation says that "A JSR 105 implementation SHOULD use underlying JCA engine classes, such as java.security.Signature and java.security.MessageDigest to perform cryptographic operations", but it doesn't say how to define the JCA provider programmatically. I don't want to change the Providers order in the security.properties file.
    Do we need to make any changes in the JCA provider classes to work with XMLDSig and XML encrypt?
    I'd appreciate your help.
    Joe

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • Convert word document in PDF,e pub,by using third party dll in Sharepoint designer workflow 2013?

    Hi,
    I want to convert word document to PDF,  EPub, by using third party (.dll).
    In SharePoint designer workflow in 2013.
    So that I have question, Can we Install third party (.dll) in SharePoint workflow Designer for conversion?
    Means I have created one simple application conversion of word to e Pub, PDF, Image by using (Spire.doc dll) in Visual Studio.
    So this same conversion I want to work in SharePoint designer workflows?
    So anybody has any solution then please provide me.
    Thanks,
    Samadhan

    it might be worth looking at these CodePlex steps, that plug directly into the Word Automation Services.
    http://sp2010wordautomation.codeplex.com/
    It'll provide you with a configurable step like the below that should help you achieve your aims
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to use Third Party DLL in Adobe Illustrator Plug In

    Hi Everyone,
    I want to design plug-in for Adobe illustrator CS6(64 bit). As first step I am referring sample plug ins from ../SDK/SampleCode. I am not getting how to use third party DLL in plug in.
    Please let me know how to refer C# DLL in illustrator plug in.
    Thanks in advance.

    There's no C# API for the Illustrator SDK, so your plugin must be C++ at the very least. That said, you can probably write a bridge if you need to call out to a C# library/DLL.

  • How can i telnet or get access to other LAN members in LAN without using third party software?

    I have admin access to the main  router in our LAN, so how can i telnet or get access to other LAN  members in LAN without using third party software?
    its linksys3500 router and  i login as admin using the gateway address in address bar..
    i  want to access the c drive of my colleague in same subnet in same  office and i know his ip address.but he not configured telnet accept  request.so without it how can i open his telnet port and access him

    I think you are using the wrong terminology. You can browse the hidden share of any pc if you know the ip and have a valid user account on the pc by typing in the following \\computername\c$ or \\ipaddress\c$ . It should prompt you for a user account. You may have to allow this through the windows firewall (or disable it completely).

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

  • Using third party tool to initiate a Forte batchprogram

    Hello Forte Users,
    Our company has acquired a software product called Maestro. It's a
    production scheduling facility that manages tasks for batch mode execution.
    We would like to know if anyone out there has had any experience using this
    product with Forte. One recommendation that we discussed was to have
    Maestro start a script on Escript to communicate to an agent that would
    start the batch process at a specified time. Has anyone done something
    similar or can offer any suggestions ?
    Thanks in advance,
    Jean Mercier
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Jean,
    We use Maestro for all our scheduling scripts. To start\stop the
    environment and start\stop applications. We create a shell script that uses
    escript to start/stop applications. Maestro just calls the shell scripts
    and monitor it for completion. I think you have to write the shell script
    in a standard way to return an error if it does not finish properly. Here
    is an example:
    #!/bin/csh
    source /appls/forte/fortedef.csh
    $FORTE_ROOT/install/bin/start_nodemgr -fm "(x:300000)" -e TR2ProdEnv
    ps -fu forte | grep -v grep|grep nodemgr>/appls/forte/production/scripts/KBB
    set KBB=/appls/forte/production/scripts/KBB
    if (-z $KBB) then
    exit 1
    else
    exit 0
    endif
    Hope this helps.
    ka
    Kamran Amin
    Forte Technical Leader, Core Systems
    (203)-459-7362 or 8-204-7362 - Trumbull
    [email protected]
    From: Jean Mercier[SMTP:[email protected]]
    Sent: Monday, April 12, 1999 10:36 AM
    To: Forte-Users (E-mail)
    Subject: Using third party tool to initiate a Forte batch program
    Hello Forte Users,
    Our company has acquired a software product called Maestro. It's a
    production scheduling facility that manages tasks for batch mode
    execution.
    We would like to know if anyone out there has had any experience using
    this
    product with Forte. One recommendation that we discussed was to have
    Maestro start a script on Escript to communicate to an agent that would
    start the batch process at a specified time. Has anyone done something
    similar or can offer any suggestions ?
    Thanks in advance,
    Jean Mercier
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Maybe you are looking for

  • Airport Time Capsule Problems Since Snow Leopard - Loses Connections

    I did a straightforward install of Snow Leopard on the iMac 24 and it went fine. I have very few apps on it so nothing weird running to cause two issues: 1 - Time Machine backups to a Time Capsule have become slow and unreliable. Also, even 10-100 MB

  • Floating button not repainting

    I have a class (MyButton) that extends JButton. In the class, I'm handling mouse events to make the button "raise up" from a toolbar when the mouse pointer moves across the button (much like buttons on the IE or Netscape toolbars). When the mouse lea

  • Serious problems with simultaneous Infinity and La...

    I'm now on my third order for the one instalation. The first two were cancelled by BT because of problems their end (though not before i waited in for a half day for the instalation engineer who never called to say he wasn't coming). As a result of B

  • Audio processing mpg sound outside PPro

    Hi, I'm using Ppro CS5.5. I have 20 clips of different people talking, in mpg format. Having edited together various parts of each clip, I need to process the sound outside of PPro (it's noisy, so I'm using izotrop) I can extract the audio from each

  • Client certificate - response code: 403

    Hi, I'm hitting into a "Server returned HTTP response code: 403" when trying to access a site requiring a client cert/authentication. The site that I'm trying to access has provided me a client cert (public/private key) to use when accessing the site