Where do I add my custom jar library files

I need sone extra .jar library files, fo my application to compile. e.g
lotusxsl.jar, xerces.jar
what should be the location of these files, in the .ear file, and also in
exploded directory?

Yes, that might work but the problem is that to my understanding only the
content of .ear-files are distributed to managed servers. Where do I put my
jar-files inside the .ear-file?
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]..
best thing would be to put them in any relqative directory in archive or
exloaded directory and then add them as classpath element in manifest filefor
your archive/exloaded directory.
Viresh Garg
Manmari wrote:
Thanks Viresh. So in 6.1 where do I put these files in the .ear ?
My guess is, I need to put them under WEb-INF/lib directory in the .war
file. and similarly in the exploded directory as well.
Can you please confirm this, or otherwise?
Thanks
"Viresh Garg" <[email protected]> wrote in message
news:[email protected]..
Currently you have to put then in system classpath and not include in.ear.
Unfortunately manifest calsspath currently doesn't work with
enterprise
archive. This is getting fixed in 6.1, for which beta is alreadyavailable.
Consult J2EE Application specifications for manifest classpath and to
know
how it works.
Viresh Garg
BEA Systems
Manmari wrote:
I need sone extra .jar library files, fo my application to compile.
e.g
lotusxsl.jar, xerces.jar
what should be the location of these files, in the .ear file, andalso
in
exploded directory?

Similar Messages

  • WAR files sharing multiple JAR library files?

    Hello all, I want to make an EAR file that contains 4 WAR files, each of those WAR files relies on the same jar library files, is there some way I can make an EAR that only has one copy of each jar file?
    i put the jar files in the /library of the EAR as per the java deploytool, but that just gives class not founds
    my ear structure currently is this
    test.ear
    ======
    a.war
    b.war
    c.war
    d.war
    \library\xerces.jar
    \library\tools.jar
    \meta-inf\manifest.mf
    \meta-inf\application.xml
    \meta-inf\sun-j2ee-ri.xml
    i tried putting classpath: xerces.jar tools.jar
    but that doesnt work, any idea on how my syntax or EAR structure is wrong?
    thanks!

    Hi,
    Have you tried this way ?
    (including the line below in the Manifest file of the your wars file)
    Class-Path: library/xercers.jar library/tools.jar

  • Add & use custom jars in "Java embedding" component

    I need to generate pdf file in process.
    So I included "Java embedding" component, and write my code. For clarity example:
    com.itextpdf.text.Document document = new com.itextpdf.text.Document( 
                        com.itextpdf.text.PageSize.A4, 50, 50, 50, 50); 
              try { 
                   com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter 
                             .getInstance(document, new java.io.FileOutputStream("c:\\text.pdf")); 
                   document.open(); 
                   document.add(new com.itextpdf.text.Paragraph("This is test message")); 
                   catch (com.itextpdf.text.DocumentException de) { System.err.println(de.getMessage());  }
                   catch (Exception de) { System.err.println(de.getMessage());}
              document.close();Im using external jar file, of course I add it to classpath (right click soa project -> properties -> libraries and classpath ->add jar).
    But I get folowing error (no during compilation, but during deploying):
    Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "SimpleProcess" of composite "default/SOAProject!1.0*soa_9f8e80a4-346d-424e-9e12-1b69e2024e58"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    [04:35:23 PM] Check server log for more details.
    [04:35:23 PM] Error deploying archive sca_SOAProject_rev1.0.jar to soa_server1 [[fe80:0:0:0:5968:cb45:2001:f6ce]:8001] 
    [04:35:23 PM] ####  Deployment incomplete.  ####
    [04:35:23 PM] Error deploying archive file:/C:/Projects/SOAProject/deploy/sca_SOAProject_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)where ist the problem???
    Edited by: user1175491 on Nov 2, 2010 4:39 PM

    Ajaykumar, can u please write me what exactly append to bpel:exec part (which classes include?)? it looks now:
    <bpelx:exec name="GeneratePDF" version="1.5" language="java">
    <![CDATA[
                  com.itextpdf.text.Document document = new com.itextpdf.text.Document(  
                        com.itextpdf.text.PageSize.A4, 50, 50, 50, 50);  
              try {  
                   com.itextpdf.text.pdf.PdfWriter pdf = com.itextpdf.text.pdf.PdfWriter  
                             .getInstance(document, new java.io.FileOutputStream("c:\\text.pdf"));  
                   document.open();  
                   document.add(new com.itextpdf.text.Paragraph("This is test message"));  
                   catch (com.itextpdf.text.DocumentException de) {System.err.println(de.getMessage());}
                   catch (java.lang.Exception de) {System.err.println(de.getMessage());}  
              document.close();]]>
    </bpelx:exec>Edited by: user1175491 on Nov 2, 2010 5:07 PM
    Edited by: user1175491 on Nov 2, 2010 5:08 PM

  • Where to find diagnostics-console-extension.jar(WLDF) file

    Hi All,
    I am doing Load balancing / fail over testing using DB RAC11g and weblogic 9.2MP3, so I would like to know how many requests are going to each node in the RAC data base. For this I would like configure the diagnostics-console-extension.jar to my weblogic server. I tried to download this jar file internet, but I didnot get it. Can anyone help me in getting this jar file.
    I also see "diagnostics-agent.jar" file at WL_HOME/server/lib location, is this same as diagnostics-console-extension.jar file or this is different.
    Help me in finding this jar file or some other alternative to achieve this requirement.
    thanks
    Venkat.

    Yes In 9.x/10.x you can enable it from the Admin Console or copy the file from WL_HOME/wlserver/server/lib and copy this to DOMAIN_NAME/lib and bounce the Admin Server to see the Extension

  • Where to get J2ME PIM optional package library file

    current i want to try out to build up a PIM application with J2ME, but i found that i am required a file call java.microedition.pim to call the PIM function. can anyone willing to teach me how and where can i get the file. cause i am needed of it to complete it.

    the file is in WTK
    u just need to
    import javax.microedition.pim.*;
    Thanks & Regards
    Sumit Thokal

  • Customized Jar files in ODI 11g

    Hi guys:
    I've searched the ODI 11 documentation but I'm not able to find where can I put my customized jar files with the classes that I've create.
    For instance:
    I need to put an Apache Commons Lang3 jars in ODI 11g to be able to use the StringUtils class in my Beanshell scripts.
    Where do I put these Jar files now? I had put them into /ODI_HOME/agent/drivers, JAVA_HOME/lib, JAVA_HOME/jre/lib and also in my WINDOWS_APP_DATA\USER\ODI\ORACLEDI\USERLIB and still got the same error of Class not Found.
    I'm using ODI_11.1.1.6.0_GENERIC_111219.1055
    Thanks in advance.
    Luiz Araujo

    Please restart your agent and odistudio. Then try it.

  • Add a custom screen to XK02

    Hi all ,
    We have a requirement to add a sub screen with some customised fields in the standard transaction XK02(VENDOR MASTER).It has many subscreens, we have to add a new subscreen to the transaction, I have got a BADI VENDOR_ADD_DATA_CS where we can add our custom screens and cal through the transaction.But while running the transaction its not going to this BADI.Any pointers to this will be appreciated.
    Thanks and Regards
    Kiran

    Hi,
    I can see the filters(screen groups) while implementing BADI VENDOR_ADD_DATA_CS.What is the significance of screen group and what screen group needs to be given in the imlementation.
    Thanks and regards
    Kiran

  • Adding Custom Property to Files

    I am trying to add a custom property to file in a repository and I am apparently missing something.
    I have created a custom property and and metadata extension for the language files. I add the property to the property group custom. I added the custom property to the folder display under presentations fine.
    The issue is when I hit the details of the files I can not find anywhere where my customer property show up...
    Any ideas??
    D.

    Hi Derek,
         Looks like you have done everything correctly. The property should show up under custom tab. I would recommend going through the following PDF and see if you missed anything.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/working with metadata properties in km.pdf

  • Library file added to libs getting error

    When I add the google code library files flexlib.swc and libravis.swc to libs folder on my flex builder three and then if i run the application
    The new dialogue window named "Errors in WorkSpace" showing some
    Information as follows
    Errors exist in required project(s):
    Serious
    Proceed with launch?
    with proceed and Cancel button
    I have mentioned here that i am using the library files from google code so there must be error somewhere else. help me run this thanx in advance

    I have done the problem view I am getting the error as
    Unable to load SWC flexlib.swc
    after that I have selected project>clean all project... even after that it is showing the same load error of flex.swc....
    here is more discussedform of qn in the google group forum: http://groups.google.com/group/flexvizgraphlib/browse_thread/thread/d3a6689ace154640

  • Library file damaged - help?

    Hey so it appears my library file is damaged. I'm not sure how that happened, but I would like to not lose all of my ratings and play counts, etc. I believe the library on my iPod should still be intact. How can I get iTunes to reconstruct a library based on the info in my iPod? I don't want to connect because I am worried it will overwrite it the other way...

    I recovered the library but it was missing a lot of information. Anyway I decided there was no way to recover the rest of the information so I moved on. (I am just posting this so I can list the question as resolved.)
    I did find out why it (probably) broke, however - I suddenly removed the secondary hard drive from my modular bay in my laptop, which is where most of my music and my library files are stored. I didn't lose any of my music but I think I probably corrupted the library file in doing so. Usually I use the "safely remove hardware" option but I didn't in that case. Guess I learned my lesson.

  • Is there a way to add a single jar to an existing shared library (war)?

    Hello,
    Is there a way to add a single jar to an existing and already deployed shared library (war) in weblogic directly?
    Basically, instead of building and deploying the war each time a new jar should be added to the list of jars present in the war and deploy it in weblogic, is it possible to make the process more automatic and efficient by just adding the new jar to the existing deployed war (no matter if the consumers must be reloaded)?

    Extract the WAR file and rearchive with theJAR file included.

  • Add jsf2 Custom Component from 3rdparty .jar file

    Hi, everyone. I've got 3rdparty custom component as jar library. It's laid in my classpath.
    But I can't use it in my custom.taglib.xml.
    here is taglib:
    <?xml version="1.0" encoding="UTF-8"?>
    <facelet-taglib
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
    version="2.0">
    <namespace>http://custom/jsf/html</namespace>
    <tag>
    <tag-name>inputFile</tag-name>
    <component>
    <component-type>HtmlInputFile</component-type>
    </component>
    </tag>
    </facelet-taglib>
    when opening page:
    Expression Error: Named Object: HtmlInputFile not found.
    HtmlInputFile in jar file that laid in project's classpath.
    Please give a hint.

    Hi!
    I found out, that editing classpath of the custom component through the Component Wizard does not take effect immediatelly. You have to reinstall your component after such changes.
    Let me know if it works.
    Jakub
    Edited by: j.ciszek on 2008-11-18 10:03
    Edited by: j.ciszek on 2008-11-18 10:03

  • What happened to the custom homepage where you could add websites to it and go to one by clicking it

    I remember an older version of firefox where you could have a custom homepage. In this homepage, you could add different websites to it and they would show up in a picture. When you click on one, it takes you to that website. You could even change the color and background and everything. I tried downloading other versions of firefox but I still couldn't find it. What happened to it?

    Most likely it was an add-on you were using. For example, there is one named [https://addons.mozilla.org/en-US/firefox/addon/speed-dial/ Speed Dial] that sounds somewhat similar. If you look around the add-ons site, can you find it, or one like it?

  • Add/Delete Custom Behavior From Library

    Greetings,
    I'm pretty new at Director, but how do you add/delete custom
    made behaviors from the behaviors library?
    Thank you.

    Another cool tip is to create your own empty external castlib
    (not attached to the movie) and place it in the 'xtras' folder
    (C:\Program Files\Macromedia\Director MX 2004\Configuration\Xtras).
    Name it "my custom library" or something.
    This way, it shows up is the Director 'xtras' menu, and when
    selected, it opens as a regular unlinked castlib window which
    allows you to directly copy from it and to it while you're working
    in director.
    hope this helps!
    - Ben

  • How to add Jars to Library file

    Hi,
    can anyone please guide me how to create a library file , we are using NWDI for our development purpose.The objective is to put all jars file inside one component and then use them globally
    Rakesh

    Hi rakesh,
    Please follow this link you will have an overview of how to create lib file using NWDS and then same can be applied in DI scenario also.
    http://help.sap.com/saphelp_nw70/helpdata/en/ee/6ede3f7bc1eb06e10000000a1550b0/frameset.htm
    Thanks
    Pankaj

Maybe you are looking for

  • [svn:osmf:] 13494: Update build script to work with Flex 4 SDK.

    Revision: 13494 Revision: 13494 Author:   [email protected] Date:     2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010) Log Message: Update build script to work with Flex 4 SDK. Modified Paths:     osmf/branches/flex4/build/build.xml

  • WRT150N needs to be reset every week

    WRT150N V1.1 Firmware 1.01.9 On average once per week all of the devices in the house can no longer connect to the WRT150N. Unplugging the WRT150N for 30 seconds and replugging it in invariably solves the problem. My WRT54 did this too, but I figured

  • Canon 1D MK2 - Every other photo is black? HELP

    I recently purchased a Canon 1D Mark II. I had it serviced, picking it up last Monday. Nothing was wrong with the camera. A coworker asked to take photos in the office. He stepped away, returning a few minutes later, asking me if the camera's taking

  • Clearing out ipod touch

    I am trying to delete content and restore my daughter's old ipod touch so that my husband can use it.  I had put a "restrictions" passcode on the touch and have now forgotten the code!  Any answers as to how to get around this?  Thanks in advance

  • Error while clieck Licensing adapter sevice in visaul admin

    Dear All, I have installed SAP N/w SR3 Portal server. after 30 days it was expired. Now i got with new licese key. But in visual admin "licensing adapter" service is not opeing to install. ERROR - "Error while loading service licensing adapter" Pleas