preeti khane

Ranch Hand
+ Follow
since Mar 12, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by preeti khane

I am using Tomcat 5.0.28, and trying to run the Derek Shen's Jcatalog app on it

I get the following error

2005-05-05 16:45:47 StandardContext[/catalog]Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener

The jcatalog application came with a set of lib jars, which got deployed into the war file that I deployed in the tomcat server webapps dir:

standard.jar
aopalliance.jar
cglib-2.0-rc2.jar"
commons-beanutils.jar - **copied from tomcat server lib dir
commons-collections-2.1.jar
commons-dbcp-1.1.jar
commons-digester.jar - **copied from tomcat server lib dir
commons-fileupload-1.0.jar
commons-logging.jar
commons-pool-1.1.jar
dom4j-1.4.jar
hibernate2.jar
javaActivation.jar
javaMail1.2.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
jta.jar
log4j.jar
mysql-connector-java-3.0.9-stable-bin.jar
odmg-3.0.jar
servlet.jar
spring.jar


Under my Tomcat server lib directory
C:\Program Files\Apache Software Foundation\Tomcat 5.0\server\lib
I have the following jars:

catalina.jar
catalina-ant.jar
catalina-cluster.jar
catalina-i18n-es.jar
catalina-i18n-fr.jar
catalina-i18n-ja.jar
catalina-optional.jar
commons-beanutils.jar
commons-digester.jar
commons-fileupload-1.0.jar
commons-modeler.jar
jakarta-regexp-1.3.jar
jkconfig.jar
jkshm.jar
jsf-api.jar - **copied from jcatalog lib dir
jsf-impl.jar- **copied from jcatalog lib dir
jstl.jar- **copied from jcatalog lib dir
servlets-common.jar
servlets-default.jar
servlets-invoker.jar
servlets-webdav.jar
standard.jar
tomcat-coyote.jar
tomcat-http11.jar
tomcat-jk.jar
tomcat-jk2.jar
tomcat-jni.jar
tomcat-util.jar

So what else am I missing

tx
  • [LIST]
  • 12 years ago
    JSF
    Hello,
    Is there a possibility of the XML message being sent over the wire, being corrupted or being changed....
    Also, the data when converted with XML tags is very huge, Is there a size restriction on this binary stream that is sent?
    Also, I have heard of XML Serialization? How far is this being used in J2EE??
    thanks
    preeti
    13 years ago
    Hello,
    Could anyone direct me to some links that may help towards this cert, other than the BEA web site info.... I am assuming there is no pre-reqs for this exam
    thanks
    SJCP1.4
    14 years ago
    hello,
    I was interested in doing the above certification... can someone guide me as to the reference material / books that I need to follow.... any pre requisite exams? Also are there any other similar level cert exams that cud be better than this and worth taking
    thanks
    14 years ago
    try levteck.com they have a list of hard exams and try the downloaded exams ..... they r definitely helpful...
    hey all,
    many thanks to lotsa people on this site... lil short of what I was expecting.....But it is good enugh for now....
    I want to thanks corey , marlene, anupam, reshma, kathy , bert, dan chisholm, valentin, lawrence , anybody else I did not mention also....for your great answers and timely help....
    Most of my last minutes questions were kinda what were on the exam... I really would like to recommend velmurugan's notes, roger chung wee notes ( great for thread stuff, wrappers).....thanks to a lotta mock exams, valentin's, dan's study guides, Bill Brogden's mocks, Khaid mughals mock , jdiscuss mocks, Voodoo mock exam that I did just hours before the exam helped a lot!!!.....I was a bit frazzled with a couple garbage collection questions and couple thread questions that were tough to work out...
    I would say my exam was kinda at the level of brogden's mock + valentin's mock + voodoo mock exam...
    But anyways, great group and good luck to all the rest... Now onto the next couple of cert exams
    14 years ago
    public class Test026
    {
    static Test026 t = new Test026();
    String str;
    public static void main(String args[]) {
    Test026 t = new Test026();
    t.method("0");
    }
    void method(String str) {
    str = str;
    System.out.println(str);
    System.out.println(t.str);
    System.out.println(this.str);
    }
    }
    -----------------------------------------------------------------------
    A: The output is:
    0
    null
    null
    B: The output is:
    0
    0
    0
    C: The output is:
    0
    0
    null
    D: The output is:
    0
    null
    0

    what is the answer? The mock exam says A... I thought it wud be D
    Can someone tell me all the possible situations for unreachable statements
    I know a few:
    - while(false){ ....}
    - a return when the try catch finally has return statements


    - a statement after a break in an if enclosed in a loop
    any other examples?
    thanks

    Shouldn't the compiler complain on accessing the private method of the inner class at line 3? I know it doesn't but curious as to why? Usually private methods are not accessible outside the class definition....what makes this inner class different?
    Careful about String class instantiation in exam and garbage collection, the String s = "hello"; s = null; is not garbage collected but String s = new String ("hello"); s = null; is garbage collected.
    Can somebody explain this? It is kinda conflicting...
    hi,
    the first question , method overloading is determined by the compiler as the most specific method that a parameter can be passed into...
    Object is a superclass of String hence, String is the most specific method parameter

    On the 2 question, both string and StringBuffer class are siblings , ie they are sub classes of Object.. so the compiler finds ambiguity in the methods and cannot determine the closest possible fit.....and hence compile error
    on 3. what the exam asked was whether in a non-static method or block I can make a call to a static method or refer to a static variable....The exam said False.. and I was thinking True
    on 6. why is << signed shift operator, it does not preserve sign in any way does it....
    on no 8. my answers were B, C and D... but the exam answers said only C and D...Hence wanted to know the clarification
    1. Can I create the following
    InnerClass i = new InnerClass();
    in the main method of the outer class enclosing the Innerclass (assuming both the Outer and InnerClass are public

    2. Is wait() considered to be an instance method of Thread class? (since it is inherited from Object)
    3. A static reference cannot be made through non static method or code block.(T/F)
    4. Math is not immutable (it is final class) (T/F)
    5. What are the signed shift operator(s)?
    6. Can I have static modifier with transient for a variable?
    7. Will object references in local methods be initalised to null by default?
    8.
    this was previously posted by samy venkat...I want clarification on how the methods were chosen


    My assumptions are
    Class A has 3 overloaded methods...
    Class B has 2 overloaded methods m1(A a) and m1(C c) that it inherits from A and 1 overidden method m1(B b)
    Class C has 1 method inherited from A, 1 method inherited from B and 1 overidden method in C
    So what happens at line 1 and line 2
    In bill brogden's exam latest book exam cram 2 310-035, a similar type of question had a return in the try and a return in the finally,
    The return value of the finally was listed as the right answer... not the one in the try....Is the exam answer wrong?

    What about if there was a return in the catch vs return in the finally? Please clarify