Supporting jar for emailverifier class

i am posting my first message to this forums. where can i get supporting jar for
emailverifier class. could anyone help me please.
thanks in advance.
senthil

Thank you. I know the basic usage of ant - compiling the source, running the program, creating single jar from specified classes, ... But I have no idea how to make one jar file from each class... Is there somebody more experienced? Every advice is very welcomed.
Unfortunately, I have to hand over my project at monday and I have lot of work on other parts of the program...

Similar Messages

  • How to create Support function for internal Class use

    I have created a class to find the MoonRise and Set time. There is a java code available and I am translating it to Obj-C.
    My problem is that for the calculation there are many support functions which is internally used. When I try to duplicate this as follows
    -(double) frac:(double)x {
    // returns the fractional part of x as used in minimoon and minisun
    double a;
    a = x - floor(x);
    if (a < 0) a += 1;
    return a;
    -(void)minimoon:(double)t {
    // takes t and returns the geocentric ra and dec in an array mooneq
    // claimed good to 5' (angle) in ra and 1' in dec
    // tallies with another approximate method and with ICE for a couple of dates
    double L0, L, LS, F, D, H, S, N, DL, CB, L_moon, B_moon, V, W, X, Y, Z, RHO;
    //var mooneq = new Array;
    L0 = frac(0.606433 + 1336.855225 * t); // mean longitude of moon
    At this point it gives an error implicit declaration of function frac,
    My question is how to create such helper functions which are used internally, actually there are many such functions where functionA call B which calls C.
    Thanks
    Raj

    Here's yet another approach (creating a private category):
    @interface MYClass (Private)
    - (double)frac:(double)x;
    @end
    @implementation MYClass
    - (void)minimoon:(double)t {
    // takes t and returns the geocentric ra and dec in an array mooneq
    // claimed good to 5' (angle) in ra and 1' in dec
    // tallies with another approximate method and with ICE for a couple of dates
    double L0, L, LS, F, D, H, S, N, DL, CB, L_moon, B_moon, V, W, X, Y, Z, RHO;
    //var mooneq = new Array;
    L0 = [self frac:(0.606433 + 1336.855225 * t)]; // mean longitude of moon
    - (double)frac:(double)x
    // returns the fractional part of x as used in minimoon and minisun
    double a;
    a = x - floor(x);
    if (a < 0) a += 1;
    return a;
    @end
    <div class="jive-quote">rajkhand wrote:
    I liked the first method as I don't have to change much of the java code.
    I like it too. I use that very regularly (though I often use C++/Objective C++), since there is typically a lot of implementation in any class that does not need to be an ObjC instance method. This approach helps to reduce the object's interface to its essentials while keeping maintenance low.
    I'll put all the helper functions above the implementation.
    Is there a good book/web site where I can get such insight? I know C and Delphi/pascal
    Well, Objective-C is a superset of C. If you're porting Java, you'll find protocols (ObjC) similar to interfaces (Java).
    *Getting Started*
    Apple's version of ObjC is different from others. For the language, Apple's docs are the standard (IMO):
    Language:
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ObjC.pdf
    If you are comfortable with C, this guide will help learning Objective-C quickly, though it has not been updated for (Apple's) Objective-C 2.0:
    http://www.amazon.com/Objective-C-Pocket-Reference-Andrew-Duncan/dp/0596004230/r ef=sr14?ie=UTF8&s=books&qid=1245404236&sr=8-4
    There are a few books on the ObjC2 language, but I have not read them (I just read Apple's docs for this).
    OOP/Design:
    http://developer.apple.com/documentation/Cocoa/Conceptual/OOPObjC/OOPObjC.pdf
    Research
    Good site for archives of tips, tricks, and even some hacks:
    http://www.cocoadev.com/
    Apple's lists (Cocoa, Xcode, ObjC, and specific technologies):
    http://lists.apple.com/mailman/listinfo
    This one sees the most traffic for Cocoa, and ObjC topics :
    http://lists.apple.com/mailman/listinfo/cocoa-dev
    Online archive for aforementioned Xcode and Cocoa list submissions:
    http://www.cocoabuilder.com/
    There are a lot of good sites/blogs out there as well.
    Questions
    Apple's lists (linked above) will typically yield good answers in a short time, you can also try here.
    Thanks a million
    Raj
    You're Welcome,
    J

  • Applet is not looking for the classes in the jar

    I have an applet that uses 2 jar files (Jasplet.jar and WinLS.jar). They are downloaded fine, but then java look for the classes in a URL instead of using the jar:
    network: Cache entry found [url: http://localhost:8000/reportes/Jasplet.jar, version: null]
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/Jasplet.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/Jasplet.jar : 304
    network: Encoding for http://localhost:8000/reportes/Jasplet.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/Jasplet.jar
    security: Loading Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loaded Root CA certificates from /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/security/cacerts
    security: Loading Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loaded Deployment certificates from /home/santiago/.java/deployment/security/trusted.certs
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry found [url: http://localhost:8000/reportes/lib/WinLS.jar, version: null]
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/lib/WinLS.jar with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: ResponseCode for http://localhost:8000/reportes/lib/WinLS.jar : 304
    network: Encoding for http://localhost:8000/reportes/lib/WinLS.jar : null
    network: Disconnect connection to http://localhost:8000/reportes/lib/WinLS.jar
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: No timestamping info available
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/engine_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    select relname,attname,typname,atttypmod-4 as length from pg_class c , pg_attribute a ,pg_type t where c.oid=a.attrelid and a.atttypid=t.oid and (typname='varchar' or typname='bpchar') and relkind='r' and substring(relname from 1 for 4)!='sql_' and substring(relname from 1 for 3)!='pg_'
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    Oct 22, 2008 11:52:20 AM winls.dbdata.DataEmployee getEmployee():505
    INFO: Connected to:jdbc:postgresql://localhost:5432/wmc
    select * from employees where empusername = 'jw1' and emppassword = 'YW5jeA=='
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/resource_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/winls/resource/resource_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECT
    LISTEN companyPostDate
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors.class, version: null]
    java.lang.NullPointerException
         at winls.gui.WinLSFrame.loadCompany(WinLSFrame.java:365)
         at winls.gui.WinLSFrame.<init>(WinLSFrame.java:250)
         at winls.gui.WinLSDesktop$2.run(WinLSDesktop.java:141)
         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:597)
         at spin.Invocation.evaluate(Invocation.java:122)
         at spin.off.OffInvocation.spin(OffInvocation.java:78)
         at spin.Invocation.start(Invocation.java:100)
         at spin.Interceptor.intercept(Interceptor.java:52)
         at spin.Spin$AbstractInvocationHandler.invoke(Spin.java:411)
         at $Proxy1.run(Unknown Source)
         at winls.gui.WinLSDesktop.<init>(WinLSDesktop.java:137)
         at jasplet.Main.init(Main.java:38)
         at sun.applet.AppletPanel.run(AppletPanel.java:425)
         at java.lang.Thread.run(Thread.java:619)
    basic: Exception: java.lang.NullPointerException
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.class, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.class with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Cache entry not found [url: http://localhost:8000/reportes/org/postgresql/errors_en_US.properties, version: null]
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with proxy=DIRECT
    network: Connecting http://localhost:8000/reportes/org/postgresql/errors_en_US.properties with cookie "JSESSIONID=573b1fbfcd200059b8bbbfa92b95"
    network: Connecting socket://localhost:5432 with proxy=DIRECTThe lines like network: Cache entry not found [url: http://localhost:8000/reportes/winls/resource/engine.class, version: null] are the ones that seems to cause the problem.
    I have tried to clear the cache. I even deleted mi ~/.java/deployment directory. Any idea of what could be the problem?

    Your applet appears to be asking for https:// protocol security.
    Is there a certificate should be in your localhost server and https enabled and supported
    (the applet continually asks for "https protocol" types of information and your using standard http)?
    Other protocols for such use are ssl:// and tls://
    Dependent the server configuration you may or may not require the port number on the end of the domain
    e.g. something like.
    ssl://mydomain.com:443 or https://mydomain.com:8080 or tls://mydomain.com:989
    And be sure there program if its an extra such as ssl:// has its service started.
    Edited by: nicephotog on Oct 28, 2008 4:09 AM

  • How to search for a class to know it is in which Jar file

    Hi Guys,
       Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
    Regards,
    Gowtham K.

    Hi Gowtham,
    Please download the Class locator from the following site. This will help to know what you are looking for.
    <b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
    <b>http://sourceforge.net/projects/classlocator</b>
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points for helpful answer.

  • Create  object for a class in jar file

    Hi
    I am using Oracle JDeveloper 10g. I have created a main application using Swing/JClient technologies. I am facing a problem for the past one week. I let u all people know my problem and I kindly request you to send a solution if known possibly confirmed.
    Problem: I have created a main application using swing that class extends JFrame. This main application consists of two parts. One left side panel and one right side panel. Left side panel contains JTree component. Each item in that tree refers to a class file located in a separate jar file.i.e that acts as a separate application. If we are executing separately that jar file class, I am able to see that small application running. If I am selecting an item in JTree during runtime, I should place that small application from the respective jar file in the right side panel of the main application. I can locate the jar file and even I can create object to that particular class file. But I cannot execute the application even separately and also not able to place in the right side panel of the main application.
    Note: The small application from the jar file contains one class file containing main method. That class file extends JPanel and implements JUPanel. i.e., with data binding. I am trying to create an object for this class file with data binding from my main application. Navigation bar is used in the main class file.
    If possible can any provide me solution at the earliest. Waiting eagerly for the positive reply.
    Regards,
    s.senthilkumar

    Can you sure that there is only a A class in the classpath of Tomcat, I advise you to add
    some statements into the A class so that you can be sure which classloader is used
    to load the A class.

  • Adf bc jar for base entity classes and extending them existing  project

    Hi,
    I am using jdev 11.1.1.0 and have created a base workspace/project and adf jar for my base entity classes.
    1. I can consume this base adf bc jar in a separate new consuming workspace and create VO based on base bc classes or create new EOs that extend base bc entity classes.
    2. Furthermore, for an existing consuming project that earlier included src/ of base entity (BC components), i can remove the dependency on bc source and bring in this new adf jar and everything including the view controller and the service/datacontrol works fine.
    The issue i am running into is as follows.
    - In the existing project (#2) above i try to create a couple of entities based on entities in my base jar; associations are automatically brought in. Note i am not overriding any attributes. My intent here is to generate .java and implement some code.
    - I then try to make my existing VOs based on the newly extended entity (VO overview->Entity Objects-> Shuttle NewEntity from Available to Selected)
    - I then try to remove the old EO from selected under VO overview->Entity Objects->Shuttle OldEntity from Selected back
    - I get a warning dialog box that says something to the effect that some viewlinks are dependent on these old EOs in this consuming project.
    - I tried to laboriously analyzed dependencies and it this dialog box does not make any sense as I have already extended EOs and the tooling should be able to let me use these
    My questions
    - Why I am not able to remove old entities from VO dependencies
    - Is it ok to leave the old EOs in "Selected" along with the newly extended EO ? What are the implications for this?
    - I also thought about extending base associations, but did not go anywhere.
    In general, I am ok with consuming an ADF BC jar that has entities etc. but not clear about removing dependencies of base EOs on VOs when entities are extended and consumed in a pre-existing project that used base entities.
    I can send a project if any PM is willing to take a look at it.
    Thanks,
    ps:
    I have already gone over the following info
    http://technology.amis.nl/blog/215/organization-of-bc4j-domain-eo-and-business-vo-package
    .. wants to create an enterprise data model in BC4J, reflecting the Enterprise Data Model set up in the RDBMS. All (or at least most) business rules will be implemented in the Middle Tier – to take the load of the database and also allow developers not comfortable with PL/SQL to define and maintain the business rules. It is clear that this means that all applications that need to access – and manipulate – the database, need to go through the BC4J foundation layer. Martijn wants to define the Entity Objects – and their business rules – only once and share that definition between different projects. Each projects can create its own ViewObjects on top of these shared Enterprise Entity Objects.
    http://radio-weblogs.com/0118231/2005/09/29.html
    I am currently working on a project for a partner where we will be using ADF BC as our model layer for a large application. In order to keep the footprint of each application module down to a reasonable size, we are intending to create a number of separate 'root' application modules for each functional area of the application. Within, these 'root' application modules we will then use nested application modules to further partition the application. All of the application modules will be accessing the same datasource and will need access to the same database objects.
    In order to separate our code between the development team and into function areas, our initial thoughts were that we would create an ADF BC model project containing Entity Objects for all of the database tables e.t.c. as these are common amongst all functional areas. We have configured all of the EOs for validation rules, defaulting values and extending doDML() as appropriate. Happy at this stage we then created a simple .jar file to deploy all of the definitions. Upon creating a new ADF BC project for each functional area we added the jar file as a library import into the new project. However when we the tried to create some new View Objects via the JDev Wizard we were unable to see the imported Entity Objects.
    Is the only way to share Entity Object definitions between different ADF BC projects to manually copy the source definition files into the new projects src directory? Since this would mean multiple copies of the same components, it could prove to be a maintenance nightmare.Is there a way of doing it without creating multiple copies of the same object definitions?
    The developer is spot on in their ideas of layering and reuse, and even has created a library for their reusable entities. This last step is not something everyone thinks to do. The missing step is known as "importing" components, so with that one extra bit of knowledge under his belt, he should be able to do exactly what he envisions. My little article called Difference Between Adding and Importing Business Components tries to explain the difference and gives the menu options to choose to perform the importing.
    Difference between adding and importing BC4J
    http://radio-weblogs.com/0118231/stories/2005/08/11/differenceBetweenAddingAndImportingBusinessComponents.html
    Working with Libraries of Reusable Business Components
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b25947/bcadvgen.htm#CHEFECGD

    Hi,
    since you followed the OC4J developer guide I think this question might be better handled there as well
    OC4J
    So in case you don't get an answer here on the forum, try it on the OC4J forum
    Frank

  • Support for generic classes

    hi,
    i m using creator 2 update 1, it does not support generic classes.
    it says use source 1.5 for generic classes.
    please tell me how to solve this problem
    thank you

    Well, not necessarily true... Most of the latest graphics cards work off of a common core, which is named depending on its maximum tested performance and on how many pipelines passed quality checks.
    Thus a 7300 is fundementally identical to a 7800, except that it uses fewer fragment/vertex pipelines and is clocked lower. This is done either artificially by disabling parts of the GPU, or if when they fail quality control.
    Either way, the drivers are the same, and have been unified for a long time for the entire product line. In fact if you look at the drivers for the card in yoru computer you will see they are more then likely for a different chipset. My MBP claims the drivers are for a X1000, even though the card is a X1600.

  • Jar file name Required for IApplicationPropertiesService class file

    Hi
       I am using EP6 SP15, Please let me know the jar file name for IApplicationPropertiesService.class
    Regards
    Ganesan S

    Hi,
    you should have it in your NWDS plugins directory. I have it here:
    <i>\Program Files\SAP\JDT\eclipse\plugins\com.sap.km.rfwizard\lib\bc.rf.global.service.appproperties_api.jar</i>
    Romano
    PS: you can try to find it yourself - not so hard: just search in the filesystem for XXXXXX.class including searching archives...

  • Javacardx.crypto classes (or jar) for JCDK 2.1.1

    Hi,
    I'm using Java Card Development Kit 2.1.1 to develop applet for Gemalto Xpresso Java Card (because it is Java Card 2.1.1 compliant).
    There is an exp file for javacardx.crypto, but no jar or stub classes implementing it - that is why I can't compile my applet (it fails on importing javacardx.crypto).
    Where can I take necessary classes for JCDK 2.1.1 or is there other way to overcome this problem?
    Thanks

    Thanks
    For now I've solved the issue this way: I took classes for javacardx.crypto from JCDK 2.2.2, decompiled them with JAD, and now I use this stubs in my project (with some modifications to make them work too)....
    So, I can compile my applet with javacardx.crypto, convert it (as I have exp files for this library) and it work on card.
    I also tried just to simply use classes from JCDK 2.2.2 but as I need to compile with JDK 1.3.1 old javac doesn't understand this class format. Project can be compiled with javac from new JDK, but then it fails to be converted as converter doesn't understand the classes it produces ))).... that is why I had to get source files with JAD

  • [svn] 1062: Adding support to DataGridColumn for multiple class names.

    Revision: 1062
    Author: [email protected]
    Date: 2008-04-01 16:27:42 -0700 (Tue, 01 Apr 2008)
    Log Message:
    Adding support to DataGridColumn for multiple class names.
    Bugs: SDK-15124
    Reviewer: Glenn Ruehle
    QA: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15124
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as

    That's all well and good, but I've had more times that not where
    people want the entire program, not bits and pieces.Then you missed the whole point of that link.
    We don't want to see bits and pieces of code. We want to see an executable program, but we want an executable program the demonstrates the incorrect behaviour without all the unnecessary code. 90% of the code you posted was not related to your problem. That is we what you do to some basic debugging and remove the parts of code that are not related to the problem so we can concentrate on the code that is related to the problem.

  • Jar for class PageStructureFactory

    Hi all,
    I am trying to run the dynamic page builder example.
    I want to know which jar is needed for the classes:
    com.sapportals.portal.pb.dynamic.IPageStructure
    com.sapportals.portal.pb.dynamic.PageStructureFactory
    best regards,
    Keren

    Hi,
    The jar file that you need for the above two classes are
    com.sap.portal.pagebuilder.utils_api.jar
    In ep6 this can be found in the following path:
    ROOT/WEB-INF/portal/portalapps/com.sap.portal.pagebuilder.utils/lib
    Regards,
    Harish
    (Please do not forget to award reward points for providing the solution:Thanks in advance)

  • Ears, wars, support jars, and CLASSPATH

    I am trying to migrate an application from WLS 5.1 to 6.1. There are 25
    EJB jars with an equal number of support jars, most of which are referenced
    by multiple EJBs. There are also a large number of jsps, and html pages.
    I have tried packaging an ear that contains the 25 ejb jars, a war file
    containing the web pages. I have attempted to include the support jars in
    the ear as well.
    In all attempts, the only way I get class references sastisfied is to
    include all the jars on the system CLASSPATH. But this defeats the purpose
    of packaging, since none of the components referenced in the system
    CLASSPATH will be re-deployable.
    The online documents refer to separate class loaders and classpaths for the
    war and ejbs, but no detail as to how classes are found by the loaders.
    Unless I put all the jars into the CLASSPATH, jsp pages cannot reference the
    EJBs, and EJBs are unable to reference other EJBs.

    Thanks,
    Now if I could just get Webgain Visual Cafe to allow me to include the
    Classpath entries in the generated manifests for the EJB jars.
    "Gregory Gerard" <[email protected]> wrote in message
    news:3ba24da1$[email protected]..
    You need to mangle all the Manifest files within the EAR and EJB-JARs and
    WAR to get the right thing to happen. Check out this PDF on Sun's site:
    http://java.sun.com/j2ee/j2ee-1_3-pfd4-spec.pdf
    section 8.1.1.2
    I don't entirely understand all the restrictions and formatting -- Ihaven't
    found an example ear file out there that implements a non-trivial case.
    greg
    "Carl Lawstuen" <[email protected]> wrote in message
    news:3ba21d8e$[email protected]..
    I am trying to migrate an application from WLS 5.1 to 6.1. There are
    25
    EJB jars with an equal number of support jars, most of which arereferenced
    by multiple EJBs. There are also a large number of jsps, and htmlpages.
    I have tried packaging an ear that contains the 25 ejb jars, a war file
    containing the web pages. I have attempted to include the support jarsin
    the ear as well.
    In all attempts, the only way I get class references sastisfied is to
    include all the jars on the system CLASSPATH. But this defeats thepurpose
    of packaging, since none of the components referenced in the system
    CLASSPATH will be re-deployable.
    The online documents refer to separate class loaders and classpaths forthe
    war and ejbs, but no detail as to how classes are found by the loaders.
    Unless I put all the jars into the CLASSPATH, jsp pages cannot referencethe
    EJBs, and EJBs are unable to reference other EJBs.

  • ClassNotFoundException for Spring class

    Hi,
    We are migrating application from WebSphere to SAP NetWeaver. Our Web module uses JAAS for authentication.
    In the custom login module we are using Spring framework. We are creating BeanFactory using:
    [code]BeanFactory beanFactory = new ClassPathXmlApplicationContext ("conf/service-client/client-prop.xml");[/code]
    Content of client-prop.xml is :
    [code]<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
              <property name="location">
                   <value>conf/service-client/client.properties</value>
              </property>
         </bean>
         <bean id="ClientProperty" class="com.mypkg.common.service.bootstrap.types.ServiceClientProperty">
              <property name="url">
                   <value>$://$:$/$/services</value>
              </property>
              <property name="namespacePrefix">
                   <value>$</value>
              </property>
         </bean>
    </beans>[/code]
    Now we are getting the exception:
    [code]1.5#000FFE10ED0E0043000000030000090C000417A932F6D6B4#1151915378772#com.sap.engine.services.security#sap.com/MyWeb#com.sap.engine.services.security#Guest#2####11191b600a6e11dbca17000ffe10ed0e#SAPEngine_Application_Thread[impl:3]_35##0#0#Error##Java###Exception #1#com.sap.engine.services.security.exceptions.BaseLoginException: Error in some of the login modules.
         at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:146)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:152)
         at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
         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:324)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
         at com.mypkg.client.security.actions.LoginAction.executeLogic(LoginAction.java:43)
         at com.mypkg.client.framework.action.Action.execute(Action.java:67)
         at com.mypkg.client.framework.action.Action.execute(Action.java:41)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at com.mypkg.client.framework.action.RequestProcessor.processActionPerform(RequestProcessor.java:53)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.ExceptionInInitializerError
         at com.mypkg.common.service.client.ServiceClientFactory.getProxy(ServiceClientFactory.java:131)
         at com.mypkg.common.service.client.ServiceClientFactory.getService(ServiceClientFactory.java:56)
         at com.mypkg.client.security.auth.UPServiceLoginModule.login(UPServiceLoginModule.java:101)
         at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:68)
         ... 37 more
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'propertyConfigurer' defined in class path resource [conf/service-client/client-prop.xml]: Bean class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] not found; nested exception is com.sap.engine.frame.core.load.SAPClassNotFoundException: org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:428)
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:335)
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:266)
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:186)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:238)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:155)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:124)
         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:140)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:103)
         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:71)
         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:87)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:267)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:80)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:65)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:56)
         at com.mypkg.common.service.bootstrap.BootstrapServiceClient.getClientProperty(BootstrapServiceClient.java:119)
         at com.mypkg.common.service.bootstrap.BootstrapServiceClient.<init>(BootstrapServiceClient.java:48)
         at com.mypkg.common.service.bootstrap.BootstrapServiceClient.<clinit>(BootstrapServiceClient.java:39)
         ... 41 more
    Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
    Loader Info -
    ClassLoader name: [common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore]
    Parent loader name: [Frame ClassLoader]
    References:
       library:com.sap.ip.basecomps
       library:core_lib
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:servlet
       library:sapxmltoolkit
       library:com.sap.mw.jco
       library:com.sap.util.monitor.jarm
       library:j2eeca
       library:opensql
       interface:security
       interface:log
       interface:shell
       interface:keystore_api
       library:ejb20
       interface:webservices
       library:com.sap.guid
       interface:appcontext
       interface:endpoint_api
       interface:resourceset_api
       interface:resourcecontext_api
       common:service:iiop;service:naming;service:p4;service:ts
       interface:ejbcomponent
       interface:container
       interface:visual_administration
       interface:transactionext
       interface:dsr_ejbcontext_api
       service:timeout
       service:memory
       service:deploy
       library:antlr
       library:jdbdictionary
       library:opensqlextensions
       service:adminadapter
       interface:cross
    Resources:
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    com.sap.security.api.sda
    com.sap.security.api.perm.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    keystore
    keystore.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_service_api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    webservices_lib
    jaxm-api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    connector
    connectorimpl.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    com.sap.security.api.sda
    com.sap.security.api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    com.sap.security.core.ume.service
    com.sap.security.core.ume.service.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    com.sap.security.core.sda
    com.sap.security.core.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_jaas_test.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_jaas.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    webservices_lib
    webservices_lib.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    userstore
    userstore.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    com.sap.security.core.sda
    com.sap.security.core.tpd.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_https.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_xmlbind.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    dbpool
    sqljimpl.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    security
    security.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_ssf.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    dbpool
    opensqllib.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_jaas.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    services
    dbpool
    dbpool.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_compat.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_toolkit_api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    webservices_lib
    jaxrpc-api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_toolkit_core.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_userstore_lib.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    webservices_lib
    saaj-api.jar
       E:
    usr
    sap
    J2E
    JC00
    j2ee
    cluster
    server0
    bin
    ext
    security.class
    tc_sec_saml_util.jar
    Loading model: {parent,local,references}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:314)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at org.springframework.util.ClassUtils.forName(ClassUtils.java:87)
         at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:64)
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:369)
         ... 58 more[/code]
    ClassNotFoundException exception is coming for the class: org.springframework.beans.factory.config.PropertyPlaceholderConfigurer but the correponding jar file (spring-beans.jar) exists in the WEB-INF/lib.
    Any kind of help will be greatly appreciated.
    Regards,
    Sagar

    Apparently, this question was repeated 3 times in different forums and is answered in the link below:
    ClassNotFoundException for Spring class
    Regards.

  • Deployment Issues, Different  Jars for Diff Java in one application.

    HI,
    I need to put classpath (Jars) for my WEB-INF/classes. Different Jars for Diff files in one application.
    The problem is , for one ofmy application, the lib files are x.jar and y.jar , x is older than y but have same
    lib files. in x and y, there is one class , r.java , which have a method method1(). whey they are doing modifications in y.jar , the r.java has changed to new vertion, the method method1() they re-written the body.
    My application have 5 java files, in which 2 files uses r.java imported from the x.jar earlier.
    Now we need to use y.jar because , the y.jar have more files added with good futures. But the earlier 2 files are giving exception if i use y.jar.
    I need solution for this. how can i put classpath for the 2 files to use the x.jar and other files to use y.jar in the same application.
    I am using a Tomcat 4 server. only Servlets, JSPs I am using.
    Thank you,
    Kiran

    I may be missing something here, is y.jar a newer version of x.jar? And if it is do you need x.jar at all? Are there classes in x.jar that do not exist in y.jar? Can you modify your application to provide the same functionality and only use y.jar?

  • How to access additional supporting jar files from EJB JAR?

    Hi,
    How can we access additional supporting jar files as part of my EJB JAR .
    I don't want to keep them in the top level because other EJB JAR files also has
    the same jar files(code in the classes in the jar is slightly different)
    can I keep the additional jar files in my EJB JAR?
    Thanks
    NLB

    Include the supporting jar files in the Ejb jar file.
    Specifiy the jar files in the Ejb jar manifest file.
    Manifest-Version: 1.0 [CRLF]
    Class-Path: utility.jar [CRLF]
    thanks,
    Deepak
    "NLB" <[email protected]> wrote:
    >
    Hi,
    How can we access additional supporting jar files as part of my EJB JAR
    I don't want to keep them in the top level because other EJB JAR files
    also has
    the same jar files(code in the classes in the jar is slightly different)
    can I keep the additional jar files in my EJB JAR?
    Thanks
    NLB

Maybe you are looking for

  • How to display data in a grid after selecting topic from combo box?

    could someone help me out? i'm displaying a combo box (about 20 items) vertically. when user selects one of these items, i'd like for information regarding that choice to be displayed in my data grid. thanks - Karl from Kansas

  • Can't detect control-a

    Is there any way to detect when control-a or control-c is pressed (that is, hold down control key, press A key). The following code to detect a control-7 works fine: function myOnKeyDown() { // 55 is key code for 7 if (Key.isDown(Key.CONTROL) && Key.

  • Creating automatic sequential lists in Pages for iOS

    Maybe I'm crazy, but I am having difficulties with creating lists that work in Pages for iOS. I am a teacher, and I have been trying to use my iPad in the classroom more.  I have been trying to make simple multiple-choice review quizzes using Pages.

  • PDK & OC4J Standalone Development Environment

    Hello Portal Gurus, I now seek the knowledge of setting up a development environment where I can register and test portlets. As of now I understand that you need to download and install the OC4J Standalone version. Once OC4J is installed follow the d

  • Lens Profile Downloader question

    I have downloaded the latest version of Adobe Lens Profile Downloader 1.0.1, and I have AIR installed (as required), but the downloader won't install. It gives the message "The application cannot be installed due to a certificate problem. ..." What s