How to add a Jar file to J2EE Server Component Library ?

Hello,
My objective:
=====================================================
To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
Library project.
I have created a J2EE Server Component Library project. 
I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
Here is my problem:
=====================================================
I can't open the provider.xml with SAP's special editor for the provider.xml.
The special SAP editor doesn't exist for me.
Here is my question:
=====================================================
Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
      J2EE Server Component Library SDA structure.)
Q2) If you were to update the provider.xml with notepad, what would you
type in provider.xml for JAR_X?
Q3) Is there anything else that I need to do?
Thanks,
Steve
J2EE Server Component Library SDA structure.
======================================
|-META-INF_
|         |-manifest.mf
|         |-sap_manifest.mf
|         |-SearchRules.xml
|         |-<SDA>.xml
|         |...
|-<jar_0>
|- ...
|-<jar_N>
|-dispatcher_
|           |-provider.xml
|           |-properties
|           |-runtime.properties
|           |-persistent__
|           |            |-<persistent_files(2)>
|           |-descriptors_
|                        |-<descriptor_files(3)>
|-server_____
|           |-provider.xml
|           |-properties
|           |-runtime.properties
|           |-persistent__
|           |            |-<persistent_files>
|           |-descriptors_
|                        |-<descriptor_files>
|-os_libs____
            |-<char set>__
                         |-<platform>__
                                      |-<jvm bitlength>__
                                                        |-<native lib files>

Thank you for all your solution...
my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
Thanks again,
Steve
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
     <display-name>
      Your_Lib_Name
    </display-name>
     <component-name>
      Your_Lib_Name
    </component-name>
     <major-version>6</major-version>
     <minor-version>40</minor-version>
     <micro-version>0</micro-version>
     <provider-name>
      sap.com
    </provider-name>
     <references>
          <reference
               provider-name="sap.com"
               strength="weak"
               type="library">Your_Lib_Name</reference>
     </references>
     <jars>
          <jar-name>my_jar.jar</jar-name>
     </jars>
</provider-descriptor>

Similar Messages

  • How to add SDK jar file in NWDS

    Dear Friends,
    Currently i have an issue. I have to bring the BO favorite to my Portal Screen. My Portal is developed in PDK.
    I have few links where the source code is writhen. Those link's are
    /people/michael.nicholls/blog/2010/02/22/using-the-pdk-to-access-businessobjects-infoview
    http://wiki.sdn.sap.com/wiki/display/Snippets/ReadInfoViewfavoritesfromthe+portal
    I don't know more about BO. I have few points which i mentioned below.
    1) How to add SDK jar file in NWDS.
    2)DO i need any specific package for that.
    Kindly help me with your Valuble suggestion and document.
    Thanx in Advance.
    Prashant Krishen

    Hi,
    for adding all the jar files in NWDS fallow below steps
    windows >> preferences >>Java>>Java buildpath>>Libraries>>add external jars
    Hope this helps
    Edited by: polaka123 on Nov 13, 2010 12:44 PM

  • External library DC vs J2EE Server Component - Library DC

    Hi all,
    I have been developing where I used jars through the public part of an external library DC and it worked fine, but I'm wondering:
    What is actually the difference between a external library DC and a J2EE Server Component - Library DC  ?
    When do i use the external library DC and when do i use the J2EE library DC?
    Kind regards,
    J.

    Hello Mark,
    I tried what you said in the following scenario:
    I created Proxy classes for Enterprise Connector for a BAPI from a backend system.
    Those classes where put in a jar. That jar is put in a external library DC with an assembly public part and a compilation public part.
    From that i tried two method:
    Method 1: i referenced the public parts (assembly and compilation) from external library DC in my web dynpro DC and it worked fine.
    Method 2: I referenced the public parts (assembly and compilation) in a J2EE library DC ( for compilation: build time ; for assembly: build time and runtime with strong). In my Web Dynpro DC i referenced the compilation public part from my external library. And in the properties of my web dynpro project i added the reference to my j2ee library (that was also deployed; i can see it in my visual administrator). When running my application, i get the following error:
    <i>java.lang.NoClassDefFoundError: com/sap/aii/proxy/framework/core/AbstractProxy -
    Loader Info -
    ClassLoader name: [gtsc.jnj.com/testapptestwdp] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/cafeugpapiwd sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:tcwdwslib library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:cafeugpapi library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:gtsc.jnj.comjcrauweltestr3proxieslibrary library:com.sap.aii.util.misc library:tccmi Resources: C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\src.zip C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-collections-2.1.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\cglib-2.1.3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm-attrs.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\gtsc.jnj.comtestapptestwdp.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\dom4j-1.6.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\hibernate3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-logging-1.0.4.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm.jar Loading model: {parent,references,local} -
    The error occurred while trying to load "com.jnj.gtsc.im.jcrauwel.proxies.MyR3Proxies_PortType".</i>
    Any idea what i'm doing wrong?
    Kind regards,
    J.

  • Is there a J2EE Server Component Library DC in 7.1?

    I'm creating an External Library DC to be accessed by an EAR Project using reference. I understand you need to place this DC into a J2EE Server Component Library DC to be able to be deployed. There is a choice for this DC on 7.0. Why there is none in 7.1? Am I missing something or there is a new way to accomplish this?

    No more J2EE Server Component Library DC in 7.1. Use EAR and reference using application not library.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/c93bc6a24a4ebce10000000a11466f/frameset.htm

  • How to add a jar file to a project

    I believe I have followed the necessary steps to add a jar file to my project. I have added this jar file as a new library and I see all the classes in it. I have even added it to my SessionBean1.java via the Add ---> Property menu. I noticed that this did not do the import of the class, so I did it myself. I also noticed that it did the drop downs and found the class for me automatically. Specifically, the IDE knows about the class layout and can see my class package as I type it out.
    So far so good....
    I then go to compile the project and I get the error:
    C:\Projects\safe\Safe\src\safe\SessionBean1.java:11: package com.dusa.bo does not exist
    import com.dusa.bo.BackofficePerson;
    Am I missing something? I looked around and it looks to me like the jar file is in the project and it should know about it. Again, I do know that the editor can find it, because as I type import ..... it then list "com" as an option to click on, then if I click on com, it will then list dusa ... and so on.
    Thanks

    I figured this out. Sorry for the post.

  • Deploying a jar file into J2EE server

    Hello,
    I need to deploy a few jar files I need in my jsp pages I deploy into EP 6.  I'm using SAP Web AS 6.40.  I tried to copy them into F:\usr\sap\DEP\JC00\j2ee\cluster\server1\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\lib folder but after restarting J2EE server, I still have an error for each import I'm doing for the classes contained in my jar files.
    I also tried to pu them in PORTALINF/lib folder of my project but it doesn't work.
    Does anyone have an idea ?
    Thank you !

    Hi Olivier,
    you could try the following approach:
    1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
    2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
    -- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
    -- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
    Hope that helps!

  • How to add a jar file into resource catalog in webcenter spaces

    Hi All,
    i am new to webcenter spaces. my requirement is like, i have created one adf taskflow and deployed it as a shared library.now i want to register this jar file as a resource catalog into webcenter spaces (i.e. already deployed). How to achieve this task.
    Thanks,
    Monika

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • How to add a jar files to a project in JDeveloper 10g?

    I had created a sample appln using below imports
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    The above packages are available in frmall.jar only know?
    I tried to add the above jar in JDeveloper IDE (10.1.2.1.0).
    But i can't fild a exact menu in my iDE?
    How to add the above jar through menu?
    Thanks

    1. Select Tools>Project Properties.
    2. In Project properties window select Libraries.
    3. Add a project JAR with Add Jar/Zip button.

  • How to add a jar file in the visual Age classpath

    I have to import a jar file in visual Age workspace, and don't know hox to do
    I tried several things, but didn't succeded at this point.
    I need to succed until tomorrow for completing my work.
    Please help, thanks.

    Pls do the foll actions:
    Step 1:
    File -> Import -> Selct radiobutton - "Jar file" -> Next
    -> Select the file name(ur jar file) - > click on the java button and ensure that u have selected all the file or what evre files u want " -> Finish
    If at all u r not getting any errors but the files are not apperaring in ur Project means go to
    Step 2:
    From the work bench click
    Window -> Reposiroy Explorer -> Select the Project,edition,package or type and right click and from the pop up menu click "Add to Workspace"
    This 'd work
    All the best for a successful completion of ur work
    Pramod

  • J2ee-Server-Component library and Buildpath

    Hi,
    I have a J2ee-Servercomponent - Project in the NW Dev. Studio to build and deploy a library for the J2EE WEBAs 6.4.
    During buildtime this Library requires certain external JAR's to be build. But every time when I change something in the provider.xml for example the buildpath gets reset and I have to add all the external JAR's again if I want to build the library component again.
    I'm NOT using a DC and I'm not using the DTR or NWDI.
    Any ideas how to fix this ?
    Thanks in advance,
    Frank

    Hi
    What is  the version of NWDS ?
    One issue could be the jar files which u have used has been publish as file , if u r using CE version so make it publish as archive
    For further assistance please refer this [thread|Problem with JavaBean-Model on Web DynPro for Java;
    Best Regards
    Satish Kumar

  • Problem: J2EE Server Component Library's provider.xml error message

    Hello,
    I open the provider.xml fle. Then I click on the Jars tab and I get an error  message:
    The source page has errrors.  Other pages cannot be used until these errors are
    corrected.
    How can I correct the error(s) so that when I click on the Jars tab it will allow me add jar files?
    provider.xml content:
    ======================
    <?xml version="1.0" encoding="utf-8"?>
    <provider-descriptor>
      <display-name>Store jar files that need to be used at runtime</display-name>
      <component-name>global/lmco/runtime/j2ee/libs</component-name>
      <description/>
      <major-version>6</major-version>
      <minor-version>40</minor-version>
      <micro-version>0</micro-version>
      <provider-name>lmco.com</provider-name>
      <jars>
        <jar-name>
            commons-dbutils-1.0.jar
        </jar-name>
      </jars>
    </provider-descriptor>

    I have one provider.xml which has the dtd in it
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
      <display-name>abclib</display-name>
      <component-name>abcLib</component-name>
      <description>
      </description>
      <major-version>6</major-version>
      <minor-version>1</minor-version>
      <micro-version>0</micro-version>
      <provider-name>com.company</provider-name>
      <group-name>
      </group-name>
      <references>
         <reference reference-type="hard">
         <reference-target provider-name="com.company" target-  type="library">xyzLib</reference-target>
    </reference>
    </references>
      <jars>
        <jar-name>aspectjrt.jar</jar-name>
        <jar-name>axiom-api-1.2.5.jar</jar-name>
        <jar-name>axiom-impl-1.2.5.jar</jar-name>
        <jar-name>nux.jar</jar-name>
        <jar-name>stax.jar</jar-name>
        <jar-name>xom.jar</jar-name>
      </jars>
    </provider-descriptor>
    check for the DOCTYPE declaration
    Regards
    Fariha

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Java DC wrapped in J2EE Server Comp Library DC

    Hi Experts
    I have jxl.jar file, I imported this jar file in a Java DC and declared jxl.jar as public part. I created a Webdynpro DC and used the public part in it. I have created an application, component and a view in it using some classes of jxl.jar. I created a new J2EE Server Component Library DC and used the public part of jxl.jar in it again. Built the J2EE Server Component Library DC. Once done I got a .sda file. I deployed it in server. Once this is done, I have added the J2EE Server Component Library DC in my Webdynpro DC's Library Reference. Once I added this, i built it and deployed it. I got deployment finished with Warnings. Please see the exception below and Please advice.
    Exception from NWDS Deployment Screen
    "java.rmi.RemoteException: Error occurred while starting application wrigley.com/signauth/ui and wait. Reason: Clusterwide exception: server ID 6840450:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application wrigley.com/signauthui for startup. Reason=Clusterwide exception: Failed to start dependent library ''signauth/libraryimpl'' of application ''wrigley.com/signauthui''. Status of dependent component:  STATUS_MISSING. Hint: Is the component deployed correctly on the engine?"
    Names of the DCs used
    Webdynpro DC - signauth/ui
    J2EE Server Component DC - signauth/libraryimpl
    Java External Library DC - signauth/library
    FYI. I have created J2EE Server Component DC's name with more number of characters. Hope this shouldn't create issue. If this is also an issue, please let me know. I will reduce it and try.
    Thank you
    Best Regards
    Ramamoorthy D

    Hi Experts
    Kindly help me out in getting a solution for this problem.
    Thank you.
    Best Regards
    Ramamoorthy D

  • How to add jar files to my custom component

    Hi,
    I have created a custom component through component wizard. I have to add jars, so the component will execute. Where to add those jar files? I tried adding it in classes folder, but its not working. Where to add it? and where else i have to make any changes?
    Please provide inputs.
    Thanks in advance

    in the Component manifest.hda file, mention the jar files to be installed...see example below
    @ResultSet Manifest
    2
    entryType
    location
    component
    MyCustomComponent/MyCustomComponent.hda
    componentClasses
    MyCustomComponent/classes/
    componentExtra
    MyCustomComponent/readme.htm
    componentClasses
    MyCustomComponent/classes/
    componentClasses
    MyCustomComponent/apachepoi/poi-3.8-20120326.jar
    componentClasses
    MyCustomComponent/apachepoi/poi-ooxml-3.8-20120326.jar
    componentClasses
    MyCustomComponent/apachepoi/poi-ooxml-schemas-3.8-20120326.jar
    componentClasses
    MyCustomComponent/apachepoi/stax-api-1.0.1.jar
    componentClasses
    MyCustomComponent/apachepoi/xmlbeans-2.3.0.jar
    componentClasses
    MyCustomComponent/apachepoi/ooxml-schemas-1.1.jar
    componentExtra
    MyCustomComponent/java/
    @endnext step is to add classpath in MyCustomComponent.hda file in LocalData...see example below
    @Properties LocalData
    blFieldTypes=
    preventAdditionalComponentDowngrade=0
    hasPreferenceData=0
    blDateFormat=M/d{/yy}{ h:mm[:ss]{ a}}!mAM,PM!tAmerica/Chicago
    classpath=$COMPONENT_DIR/classes:$COMPONENT_DIR/apachepoi/poi-3.8-20120326.jar:$COMPONENT_DIR/apachepoi/poi-ooxml-3.8-20120326.jar
    classpathorder=50
    ComponentName=MyCustomComponent

  • How to load a Jar file in the class path?

    How to load a Jar file which contains class files, images, etc.. in the classpath without using URLClassLoader.

    You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.

Maybe you are looking for

  • How Do I Move My Photos From One Drive To Another?

    Can I simply do this in my "Folders" view by dragging the highest level "Photo Folder" to the other drive. My computer's primary drive (C) is only 500GB whereas my second drive (D) is now 1TB.  For obvious reasons I would like to get my nearly 3,000

  • Win32 API calling by Code Interface Node

    Hi all, I wish to call a Win32 API function by using the code interface node. However, I don't know the data types in LabVIEW corresponding to the "HANDLE *" in Visual C++. Here's the function I wish to call: BOOL bOpenDriver (HANDLE * phDeviceHandle

  • Erase file if it exists or copy it back if it doesn't

    I need this to remove or put back a file to enable/disable its presence in the system but I can't quite get this working: on run {input, parameters} set docFolder to ("Library/Audio/Plug-Ins/VST/") set aFile to docFolder & "WaveShell-VST 7.0.vst" tel

  • Adobe Flash CS5 - Using Relative Paths

    Hiya Guys, I'm relatively new to Adobe Flash CS5, bu have managed to create an index.swf to link together all my work for this project I've just completed. However, the index.swf, along with all my other files will be relocated, as in burnt onto a CD

  • Oracle file system

    Hi, I want to know about file system in oracle 10g. Please advice me which one is better among OMF and manually. Regards, Mark,