Adding External Jars in Module development

Dear Friends,
                        Actually i am adding an external Jar file in my EJB Module in NWDS.I am using this jar file for converting XML to flat file and i am calling this module from Receiver ommunication channel.For this process, i am importing dom4j.jar file in the EJB Module.I have created a jar file for that module,
                      Now i have created an external Library project for the cause that i have used the external jar file, and i have made following code in the provider.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
     <display-name>
      XML2EDI_Library
    </display-name>
     <component-name>
      XML2EDI_Library
    </component-name>
     <major-version>6</major-version>
     <minor-version>40</minor-version>
     <micro-version>0</micro-version>
     <provider-name>
      dom4j.org
    </provider-name>
     <references>
          <reference
               provider-name="dom4j.org"
               strength="weak"
               type="library">org.dom4j.Document</reference>
          <reference
               provider-name="dom4j.org"
               strength="weak"
               type="library">org.dom4j.DocumentException</reference>
          <reference
               provider-name="dom4j.org"
               strength="weak"
               type="library">org.dom4j.Element</reference>
          <reference
               provider-name="dom4j.org"
               strength="weak"
               type="library">org.dom4j.io.SAXReader</reference>
     </references>
     <jars>
          <jar-name>EDI_Module.jar</jar-name>
     </jars>
</provider-descriptor>
I have included 4 references because i have imported following in my ejb module.
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
I am not sure of wht to include in reference target and provider name, I am getting the following exceptions in Message monitoring:
1. AO: Document Exception: org.dom4j.DocumentException: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
2. Nested exception: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
Help me in this issue..
Thanks in advance
N.Jayanth Kumar

Dear Stefan,
                    I will explain my problem here..in brief
1. I have created an EJB Module and adding an external jar dom4j.jar
2. I have the my jndi name as XmltoText
3. In my application-j2ee-engine.xml in my EAR file...i have included :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application-j2ee-engine SYSTEM "application-j2ee-engine.dtd">
<application-j2ee-engine>
<reference
     reference-type="weak">
     <reference-target
       provider-name="dom4j.org"
       target-type="application">TEST_LIBRARY
      </reference- target>
</reference>     
<fail-over-enable mode="disable"/>
</application-j2ee-engine>
           TEXT_LIBRARY is name of my Library Project.Please tell me corrections in the above code...i have doubt regarding provider name.
4. As i have added external jar file in my ejb module..._i have created a Library project and in that project in provider.xml_ file i have included the following code...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
<provider-descriptor>
     <display-name>TEXT_LIBRARY</display-name>
     <component-name>TEXT_LIBRARY</component-name>
     <major-version>6</major-version>
     <minor-version>40</minor-version>
     <micro-version>0</micro-version>
     <provider-name>****</provider-name>
<references>
<reference
     provider-name="****"
     strength="weak"
     type="library">****</reference>
</references>
<jars>
         <jar-name>EJBModule.jar</jar-name> (This is my EJB Module jar file)
</jars>
</provider-descriptor>
Now what should i include in the places of **** in the references above??
Thanks and Regards,
N.Jayanth Kumar

Similar Messages

  • Adding external jars

    Hi,
    I have a jar file in the ext folder of BPEL. When i use the class in java embedding activity it says class not found error how do i solve it. Or please tell me the procedure of adding external jars
    Edited by: user10545499 on Nov 5, 2008 9:40 PM

    To make external Jar files available in your BPEL PM, you could put the files in:
    [ORACLE_HOME]\bpel\system\classes
    Restart the server, you they are read when BPEL PM is started. If you want them available in the whole J2EE environement, you sould place them in the j2ee enviornment.
    Marc

  • Adding External Jar files

    Hello,
    I have successfully created and deployed a portal application project (par file) that required adding as an external jar the file com.sap.portal.usermanagementapi.jar. Now I am re-doing the project as a development component in NWDI and I can add the external jar file fine and the source code shows no errors. However as soon as I build the DC I get a  source error that says the import to com.sap.ip.portal.service.ume.IUserManagementEngine can not be resolved. If I go back to the java build path the usermanagementapi.jar is no longer there.
    Do I have to handle the adding of external jar files in a different way for a DC as opposed to a par project?
    Thanks,
    Bert

    thanks for you help sidharth.
    i have now jar files in the server and the application  referring to the jar files. everything is deployed fine. however, when i start the application..i get the error -"package jcifs.smb does not exist". the jar i am using is jcifs-1.2.7.jar. in my web module when i expand the jar i see the package and the .class files inside. what am i missing?
    Also, i din't define a SharingReference to usermanagement in portalapp.xml as i am working towards a pure j2ee enterprise application. the web module (DC) referes to the jar files. is there any step similar to defining the sharing reference for the web module DC?
    please help. thanks - sowmiyar

  • Help need in Adding External jar files.

    Hi all,
    Iam developing ADF application using JDEV 11.1.1.3.0.
    I need to move files from one directory to another so i have used external jar "commons-io-1.4.jar" file.
    i did this by going to the project properties -->Libraries and Classpath -->Add Library
    added the jat file.
    In java class i have used the function
    File.copyFileToDirectory(reQueueFile, TargetLocation,false);
    it was working fine when i tried in IntegratedWeblogic server but when i deploy in Standalone Weblogic server its not getting the jar file.
    Its throwing me the exception
    javax.el.ELException: java.lang.NoSuchMethodError: org/apache/commons/io/FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V
    at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303)
    Please let me know is there a way of adding the lib to the project.
    Regards,
    Suresh kumar.k

    First you should check that the library has the checkbox 'Deploy by default' is checked for your library.
    The you open the project properties of the view controller project, select Deployments, edit the deployment descriptor. Select the Node 'File Groups'->'WEB-INF/lib'->'Contributors'. this should give you a list of libraries your project uses. Check if your library has the checkbox checked (is selected fro deployment). If it's not checked, set it.
    This should include the library.
    Timo

  • Exception while adding External Jar files in NWDS

    Dear Friends,
                            Actually i am adding an external Jar file in my EJB Module in NWDS.I am using this jar file for converting XML to flat file and i am calling this module from Receiver ommunication channel.For this process, i am importing dom4j.jar file in the EJB Module.
                          Now i have created an external Library project for the cause that i have used the external jar file, and i have made following code in the provider.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          XML2EDI_Library
        </display-name>
         <component-name>
          XML2EDI_Library
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          dom4j.org
        </provider-name>
         <references>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.Document</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.DocumentException</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.Element</reference>
              <reference
                   provider-name="dom4j.org"
                   strength="weak"
                   type="library">org.dom4j.io.SAXReader</reference>
         </references>
         <jars>
              <jar-name>EDI_Module.jar</jar-name>
         </jars>
    </provider-descriptor>
    I have included 4 references because i have imported following in my ejb module.
    import org.dom4j.Document;
    import org.dom4j.DocumentException;
    import org.dom4j.Element;
    import org.dom4j.io.SAXReader;
    I am not sure of wht to include in reference target and provider name, I am getting the following exceptions in Message monitoring:
    1. AO: Document Exception: org.dom4j.DocumentException: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
    2. Nested exception: E:\usr\sap\BWS\DVEBMGS00\j2ee\cluster\server0\
    Help me in this issue..
    Thanks in advance
    N.Jayanth Kumar

    thanks for you help sidharth.
    i have now jar files in the server and the application  referring to the jar files. everything is deployed fine. however, when i start the application..i get the error -"package jcifs.smb does not exist". the jar i am using is jcifs-1.2.7.jar. in my web module when i expand the jar i see the package and the .class files inside. what am i missing?
    Also, i din't define a SharingReference to usermanagement in portalapp.xml as i am working towards a pure j2ee enterprise application. the web module (DC) referes to the jar files. is there any step similar to defining the sharing reference for the web module DC?
    please help. thanks - sowmiyar

  • Adding external Jar's to Web Dynpro DC

    Hi All
               I want to add external jar's to a web dynpro development component but when i add the jar and rebuild the project by right clicking on project and then Development Component ===> Build / Refresh from DC settings then automaticaly the added jar's get removed
               Is there any other process to add the jar's in DC like what we do in normal dypro project. or what could be the issue.  I add the jar by properties ===> Java Build Path ==> Add External JAR's
            Please guide me I am totaly confused
    Thanks
    Ninad

    Put the ejb project in the projects required by the WebDynpro project (Java build path) in order to get it to compile succesfully.
    <b>Now you have 2 options:</b>
    1. You can then export your EJB methods as a web service and import these methods as a model in the WebDynpro project.
    <i>After this you can call your web service (ejb methods) from your webdynpro app.</i>
    2. Instatiate your EJB classes from jndi context as ejbs are normally used.
    Context initctx = new InitialContext();
    Object objref = initctx.lookup("java:comp/env/ejb/YOUR_EJB");
    YOUR_EJB_CLASS myEJB = (YOUR_EJB_CLASS) objref;
    <i>Call the methods from the myEJB object.</i>
    <u><b>If this solves your situation, points would be greatly appreciated.</b></u>
    Best regards,
    Homer Vargas
    SAP EP Development Consultant
    SAP Web AS Development Consultant
    SAP Andina y del Caribe

  • Adding External jar file in webdynpro in CE 7.1 EHP 1

    Hi,
    How to add external jar file in webdynpro component. I am using CE 7.1 EHP 1 SP04 .Public part of external library is used in the webdynpro dc.  I created Enterprise Application and used that in runtime in the wybdynpro dc also.
    I am not getting any error at the time of deploy but at the time of activating getting the following error.
    ERROR: E:\usr\sap\CED\J10\j2ee\cluster\server0\temp\CBS\1\.B\354\t\65FFED04CAA1231EE16A570686EC24D6\gen_wdp\packages\com\sap\home\ovsuser\ovsuserapp\comp\OvsUserComp.java:23: package com.sap.security.api does not exist
         [javac] ERROR: import com.sap.security.api.ISearchAttribute;
         [javac] ERROR:                             ^
         [javac] ERROR: E:\usr\sap\CED\J10\j2ee\cluster\server0\temp\CBS\1\.B\354\t\65FFED04CAA1231EE16A570686EC24D6\gen_wdp\packages\com\sap\home\ovsuser\ovsuserapp\comp\OvsUserComp.java:24: package com.sap.security.api does not exist
         [javac] ERROR: import com.sap.security.api.ISearchResult;
    Please help.
    Raktim

    Hello Raktim
    com.sap.security.api should be available within NWDS plugins and should work fine if you add sap-jee DC as used dc.
    For external jars check this link
    [http://wiki.sdn.sap.com/wiki/display/Java/Externaljarfileerrorand+Solution]
    works fine in netwever 7.01 .
    Regards

  • External Jars in JSP Dynpage

    Hi,
    I have implemented reading an XML feed in a Java program using informa api.
    In NWDS, I created a Java Project. And as required added 3 externals jar files.
    I had to import the following:
    import de.nava.informa.core.ChannelIF;
    import de.nava.informa.core.ItemIF;
    import de.nava.informa.impl.basic.ChannelBuilder;
    import de.nava.informa.parsers.FeedParser;
    The program works on run.
    But when I creat a JSP DynPage and I add the follwoing lines:
    <%@ page import = "de.nava.informa.core.* "%>
    <%@ page import = "de.nava.informa.impl.basic.ChannelBuilder "%>
    <%@ page import = "de.nava.informa.parsers.FeedParser "%>
    I get an error: Error occurs during the rendering of jsp component. Even in this project I added external Jar files in the same way.
    Any particular stuff need to reside on the server or something?
    Because I one tried implementing JCO in JSPDynPage by adding the external jar in the project structure and it worked fine.

    Hi Prem,
    Probably the jars you must have added in your last project would be available on the server or they would have been some server related jar files.
    But in the case when you are inclusing some external jars, you need to inclusde it both as "<b>External Jar</b>" and also add it to the <b>lib</b> folder (ie: just copy and pate the jar files in the <b>lib</b> filder).
    <b><a href="http://img142.imageshack.us/img142/8168/solution4gy.jpg">Put the .jar file here</a></b>
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points if helpful and solved.

  • Required JAR's for developing custom adapter modules for PI 7.31 SP 09

    Hello experts,
    I have a new development wherein i have to consume .xlsx files in PI 7.31
    i have gone through a lot of blogs but did not find any relevant JAR's specially for PI 7.31, I am planning  to go for custom module development for conversion of .xlsx file into xml
    so need your help for finding the JAR's for PI 7.31 and also some custom JAVA source code for conversion of excel spreadsheet into XML.
    Regards,
    Sushant.Shinde

    Hi sushant,
    The module key seems correct ffor you. But the blog you shared is cozy. I developed 4 adapter modules using a document. Please refer that.
    And NWDS EHP1 is available you can use that to be perfectly sure on compatibility.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true
    use the above document to verify the steps you followed-
    Please provide following screenshots
    NWA->configuration->infrastructure->Application Modules-> and search for *xlmodule*
    if you find your module then click on it and at the bottom there will be a window with JNDI Name. Share that JNDI name and use that JNDI name in your Module. (localejbs/JNDIName).
    Also go to NWA->TroubleShooting-> JNDI Browser and see where is your Adapter module situated. I mean under which directory. Either directly inside root/localejbs/ or root/localejbs/sap.com.
    Please verify your steps according to that and redeploy and share result.
    and Go to NWA- Site Map-> find Start & Stop
    In that go to Java Applicaitons Tab and search for your module. It must be started. If it is stopped try starting it.
    Regards,
    Vikas

  • Adding all the classes and external jars in webservice WAR using servicegen

    Hi,
    Can someone please tell me how do I include all the classes and my external jar files to the ear/war file that is created using servicegen. I don't see any option in servicegen tag where I can include my classes and jar files to the ear/war file. The war it creates only contains the web service implementation class but I want to all the classes in the service code and jars in the same war. Any ideas on how to do that instead of putting in the classpath.
    here is the snippet of my build file
    <servicegen
           destEar="${deploy}/myservice.ear"
           warName="myservice.war">
           <service
             javaClassComponents="com.ws.service.TestService"
             targetNamespace="http://xmlns.test.com/tool/myservice"
             serviceName="myservice"
             serviceURI="/myservice"
             style="document"
             protocol="http"
             expandMethods="True">
           </service>
          <classpath>
            <pathelement path="${classes}"/>
            <pathelement path="${lib}/*.jar"/>
         <pathelement path="C:/bea/weblogic92/server/lib/webserviceclient.jar"/>
          </classpath>      
    </servicegen>
    ..........................Thanks

    Hi,
    The work around I am using to overcome this problem is Unzipping th ear/war file created by servicegen task and including all the classes. Then creating the ear file again by creating a new ant target.
    I know this is not a neater way, but this works for me.

  • InstantiationException when trying to reference an external jar in my web service sample

    Dear all,
    I'm working with Weblogic 6.1 SP3 (on NT platform) and, starting from weather
    weblogic web service sample, I'm trying to build my first web service sample.
    I developed a simple EJB (called OrderManager) that exposes the following functionalities
    in its remote:
    import com.bosslab.abs.beb.sci.ServiceHeaderVO;
    public interface OrderManager extends EJBObject {
    public OrderManagerServiceResponseVO
         submitOrder(
    ServiceHeaderVO header,
         OrderManagerServiceVO data) throws Throwable;
    the ServiceHeaderVO interface is in another package and it is included in an external
    Beb.jar.
    This Beb.jar is located under serverclasses in mydomain directory and it is included
    in the classpath set in startWeblogic.cmd.
    Using wsgen weblogic task & ant I created my WSOrderManager.ear and I deployed
    it.
    Now no problem testing the EJB (OrderManager) with a simple client (in order to
    verify that classpath is correct and also the EJB is running properly).
    Also no problem pointing out to this URL "http://localhost:7011/ordermanager/com.bosslab.abs.mediator.OrderManager/com.bosslab.abs.mediator.OrderManager.wsdl"
    to see the WSDL of my web service.
    But when I run the web service client I got the following error:
    Exception in thread "main" ------------- Remote Stack Trace ------------
    Server side error:
    java.lang.InstantiationException: com.bosslab.abs.beb.sci.ServiceHeaderVO
    at weblogic.soap.codec.SimpleSoapEncodingCodec.newInstance(SimpleSoapEncodingCodec.java:198)
    at weblogic.soap.codec.SimpleSoapEncodingCodec.decode(SimpleSoapEncodingCodec.java:178)
    at weblogic.soap.codec.SimpleSoapEncodingCodec.decode(SimpleSoapEncodingCodec.java:151)
    at weblogic.soap.codec.CodecFactory.decode(CodecFactory.java:96)
    at weblogic.soap.codec.Operation.read(Operation.java:100)
    at weblogic.soap.codec.SoapMessage.readOperation(SoapMessage.java:200)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:130)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.getInputMessage(StatelessBeanAdapter.java:162)
    at weblogic.soap.server.servlet.StatelessBeanAdapter.doPost(StatelessBeanAdapter.java:105)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ------------- Local Stack Trace ------------
    weblogic.soap.SoapFault:
    org.xml.sax.SAXException
    at weblogic.soap.codec.FaultOperation.getException(FaultOperation.java:16)
    at weblogic.soap.WebServiceProxy.processResult(WebServiceProxy.java:487)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:434)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:27)
    at $Proxy0.submitOrder(Unknown Source)
    at StaticWSOrderManagerClient.main(StaticWSOrderManagerClient.java:30)
    It seems that there is a problem to instantiate the com.bosslab.abs.beb.sci.ServiceHeaderVO
    class included in the Beb.jar, so I thought the problem was related to the classpath
    setting, maybe Beb.jar is not set properly in some place ...
    To try solving this problem I did these steps:
    -> exploded my WSOrderManager.ear
    -> created a lib directory and put into it the Beb.jar
    so now the ear structure is:
    lib/Beb.jar
    MediatorOrderManager.jar
    META-INF
    web-services.war
    -> modified the application.xml, adding:
    <module>
    <java>lib/Beb.jar</java>
    </module>
    -> modified the Manifest.mf, adding:
    Manifest-Version: 1.0
    Created-By: 1.3.1_03 (Sun Microsystems Inc.)
    Class-Path: lib/Beb.jar
    -> regenerate the WSOrderManager.ear
    jar cvf WSOrderManager.ear lib MediatorOrderManager.jar ...
    -> and redeployed the ear
    But after stopping/starting my instance, I got yet the same error when I run my
    client.
    Could you please help me to understand how solving this problem ?
    I thank you in advance
    Kind regards

    The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
    I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post.

  • Clarification in Module Development

    Hello Friends,
                       We are working on Module development.We have imported jar files i.e sda files.In ejb-j2ee-engine .xml we have included the following code..
    <reference
         reference-type="weak">
         <reference-target
         provider-name="sap.com"
         target-type="service">com.sap.aii.af.svc</reference-target>
         </reference>
    Now..We have imported a external DOM4j.jar file..for our programming requirement. My doubt is should i include any piece of code like the above one for my imported jar file?? as we are calling the module from Receiver Communication Channel, it is throwing an error regarding that DOM4j. jar file. Please help me out.
    Thanks & Regards,
    N.Jayanth Kumar

    check this links for reference:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/8257ed90-0201-0010-b6a8-e9cd808eb1a9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Adding external photo galleries, calendars, etc. in Catalyst

    Is there a way of adding external photo albums, calendars (ie. yahoo, google) into a website made in Flash Catalyst?

    The short answer is no. If these modules need to be within the design of the Flash Catalyst project, you can add them using Flash Builder to add them in. This method will require some effort and knowledge of ActionScript and the Flex Framework.  If these modules need to next to the Flash Catalyst project, then you could modify the produced HTML file that contains the Flash Catalyst element and insert the modules.
    Either way, you will have a modest amount of development to add these elements to your project.
    Good luck,
    Chris

  • Using external Jar with a mobile application

    Hi folks!
       I need some help with my application, i make a simple mobile application and i need to use a external jar, in this case, this jar have a simple JAVA class that represents a manipulation with eSWT, so my problem is How to using external Jar in NetWeaver 7.1?
       I see other threads that have a same doubts, but i don´t have a solution for my problem.
       Thats it.

    Hi Sivakumar,
    I have similar problem. i want use iText or similar jar files to create pdf. I have currently developed a UI component for handheld. I have dont the following things:
    1)Created a external dc of type external library
    2) addedd the jar in the build path
    3) added the jar in the lib folder of the webdynpro project
    4) added the external jar dc as dependency in my webdynpro project
    I am getting no class def found eror still for some wierd reason. please let me know if some step is missing. I have pasted the trace.
    rror starting the framework
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: com/cete/dynamicpdf/Font
         at com.sap.demo.testui.testapp.comp.SignatureStandard.runApps(SignatureStandard.java:88)
         at com.sap.demo.testui.testapp.comp.TestCompView.wdDoInit(TestCompView.java:85)
         at com.sap.tc.mobile.wdlite.progmodel.core.Controller.enter(Controller.java:21)
         at com.sap.tc.mobile.wdlite.progmodel.core.View.enter(View.java:45)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrentView(Application.java:133)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.navigate(Application.java:169)
         at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:19)
         at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.setCurrentApplication(WDLite.java:148)
         at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:80)
         at com.sap.tc.mobile.wdlite.container.ContainerApp.startApp(ContainerApp.java:171)
         at com.sap.tc.mobile.wdlite.container.AppMenuView.onActionLaunchApp(AppMenuView.java:325)
         at com.sap.tc.mobile.wdlite.container.AppMenuView.invokeEventHandler(AppMenuView.java:368)
         at com.sap.tc.mobile.wdlite.progmodel.core.AbstractViewElement.doHandleEvent(AbstractViewElement.java:199)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement.doHandleEvent(UIElement.java:369)
         at com.sap.tc.mobile.wdlite.renderer.api.UIImageButton.mouseReleased(UIImageButton.java:148)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement.dispatchMouseReleasedWidgetEvent(UIElement.java:412)
         at com.sap.tc.mobile.wdlite.renderer.api.UIElement$1.mouseReleased(UIElement.java:455)
         at com.sap.tc.mobile.wdlite.renderer.swt.MouseEventDispatcher.mouseUp(SWTControl.java:380)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)

  • Problem using Jar to include external jars in an application

    Ok so, I've just completed a project, and i want to be able to jar it up so its executable by just using the jar file. I can do this, and it will load the first screen. However, i used eclipse to develop it so I just added two files to the eclipse path and it all worked. But when I jar up my application (and include the two external jars in my app), and try to use any class that needs the external jar, it dies and says java.lang.NoClassDefinitionError: javax/servlet/http/HttpServlet
    How do i set it up so it actually finds the classes in the external jar?? Its fairly important that i get this to work :)

    If this app is not running as part of Tomcat, you have two options. One, as ejp pointed out, is to put the missing jars into your $JAVA_HOME/lib/ext dir. If you've already tried that and it's not working, then the jars your putting there do not have the necessary classes in them. Use 'jar -tf <jarname>' to see a list of the classes in the jar.
    The second approach, which it sounds like you've already tried, is using the Class-Path entry in the Manifest file. You must make sure that the jar you're referencing (servlet.jar) has the missing classes in it, and that the jar is in the same directory as the application jar. Another potential gotcha with this approach is to make sure that the jar is not indexed (they're not indexed by default).

Maybe you are looking for

  • Authorisation error while approving leave

    We have ESS in place. while approving a leave request , which has been created by requestor changing an alreqady posted absence of type loss of pay , the Manager is getting the following error: No read authorization for infotype 2001/0402 for pers no

  • Where is the back up folder in Itunes

    I want to use synctoy to back up my Ipod but I don't know where the folder is located that has all the apps and stuff in it on my pc to back up can anyone tell me. thanks.

  • Infoarea in BI 7

    Hi experts... I'm new to BI 7...I have already worked on BI 3.5.......can anyone please tell me how to create an infoarea in BI7.0....thanxz in advance...suitable points would be rewarded for the best answer

  • The safari software will not display images (pictures).  I have done the "reset" but still no help.  What should i try next?

    the safari software will not display images (pictures).  I have done the "reset" but still no help.  What should i try next?

  • Mailbox Transfer

    Hello, I want to switch back to apple mail. I am currently using Microsoft outlook 2011 for mac. I would like to transfer all my mailboxes including the attachments present in them, my address book to vcard and also the contacts to ical. I have tried