Classloader Again

Sorry to bring up the classloader questions again and again. I am a bit confused by the language used in the documentation when it says things like each application has its own universe etc. And also, the following statement in the docs,
"The exception is the Web Classloader, which follows the delegation model in the Servlet specification. The Web Classloader looks in the local classloader before delegating to its parent. You can make the Web Classloader delegate to its parent first by setting delegate="true" in the class-loader element of the sun-web.xml file. For details, see the Developer's Guide to Web Applications."
I wanted to see if some one could answer the following. (These are very easy for me to test. But, at this point I have a very "rich" system classpath that includes a lot of classes/jars etc. Makes it harder to see a clear picture. And I want to see if what I am observing the correct behavior))
I have a com.xyz.myClass packaged in utils.jar. I also have a test servlet and jsp page. The test servlet makes a call to com.xyz.myClass
A) If I individually deploy my test servlet/jsp as a .WAR, where should I place utils.jar?
(If I had utils.jar in the system classpath, is the WAR supposed to see it?)
B) What if the a

I have a com.xyz.myClass packaged in utils.jar. I also have > a test servlet and jsp page. The test servlet makes a call to > com.xyz.myClass
A) If I individually deploy my test servlet/jsp as a .WAR,
where should I place utils.jar?You can place it in any one of a number of locations:
- within the WAR under WEB-INF/lib/. This location would be the most conventional, self-contained approach.
- under $INSTANCE_ROOT/lib/. This location would mean that the same "version" the library would be shared by all apps (assuming that the other apps did not include their own copy).
- under classpath-suffix setting for the instance. Similar to using $INSTANCE_ROOT/lib/, but you have to specify the JAR file name explicitly.
(If I had utils.jar in the system classpath, is the WAR
supposed to see it?)Yes.
B) What if the above .WAR was part of a larger .EAR and I > deploy the .EAR instead of the .WAR? (Should utils.jar
be in system class path or the web-inf/lib of the .WAR ?)Either.
C) What if the .EAR above also had a few EJBs that
accessed com.xyx.myClass ?- Self-contained approach would be to package the JAR file in the EAR and use the manifest classpath approach to denote its location for both the EJB JAR module and the WAR module.
- Alternatively, you could either place the library either under $INSTANCE_ROOT/lib/ or specify the library in the classpath-suffix setting in the instance configuration.
A good example of when it makes sense for the web classloader to look in the local classloader before delegating upward to the system classloader is the case in which your web application depends on a particular JAXP compatible XML parser that is different from that which is being used by the application server infrastructure. In this case, you would want the XML parser embedded in your web app or EAR to take precedence over the other XML parser packaged in the system classpath for use by the app server.
Chris

Similar Messages

  • EAR classloading again!

    I have an ear deployed on weblogic 7.0 of the following structure:-
    ear
    +
    sessions.xml
    someejbs.jar
    + ejb classes
    someservlets.war
    + servlet classes
    If I try to load the resource 'sessions.xml' from one of my ejb
    classes using a call along the lines of
    'this.getClass().getClassLoader().getResourceAsStream("sessions.xml")'
    it fails. I am not sure why this is, because I thought that the parent
    classloader in this case the application class loader should attempt
    to load the resource first.
    Any ideas why this doesn't work? Do I have to package my resource in a
    jar file and use a manifest Class-Path entry?
    Thanks
    Dean Miley

    The reason that 'sessions.xml' is not put in the classpath, is because it is not a j2ee
    module that is flagged in application.xml. The EJB Classloader (if you will allow the
    moniker) only loads modules that are listed in application.xml. If you were to create a
    jar file that contained 'sessions.xml' and put it in the ear, the EJB Classloader wouldn't
    load it. It is not enough to just place the jar file or xml file in the root of the
    enterprise archive. If it is a deployable unit, or module, it must be listed in
    application.xml. If it is not, it must be placed in a jar and referenced in the Class-Path
    manifest of the interested jar. The JDK class search order is being followed. That is not
    the issue. What is placed in the classpath is what is the problem is and that is defined
    by the Java 2 Platform EE Spec, v1.3. Chapter 8 has the gory details of J2EE application
    assembly and deployment.
    Bill
    Dean Miley wrote:
    Thanks Bill
    Please see my comments inline.
    William Kemp <[email protected]> wrote in message news:<[email protected]>...
    Inline -- Bill
    Dean Miley wrote:
    I have an ear deployed on weblogic 7.0 of the following structure:-
    ear
    +
    sessions.xml
    someejbs.jar
    + ejb classes
    someservlets.war
    + servlet classes
    If I try to load the resource 'sessions.xml' from one of my ejb
    classes using a call along the lines of
    'this.getClass().getClassLoader().getResourceAsStream("sessions.xml")'
    it fails. I am not sure why this is, because I thought that the parent
    classloader in this case the application class loader should attempt
    to load the resource first.The classloader of for the ejb jars doesn't put the root of the archive,
    or the files in the root of the archive in the classpath.If the ejb classloader strictly follows the search order for a
    Classloader as described in the jdk docs, the parent classloader, in
    this case the application class loader, the one that loaded the ear
    should be consulted first. The ear classloader should have already
    loaded the resources, so the ejb classloader should find them. I think
    this is a bug in the weblogic classloaders.
    Any ideas why this doesn't work? Do I have to package my resource in a
    jar file and use a manifest Class-Path entry?Yes. That jar will make it into the classpath and getResourceAsStream()
    can then find it.Yes, this works fine, so the problem is merely academic now.
    Thanks
    Dean Miley

  • Loading an object using a different classloader

    I have 2 web-apps which share a common object. I want to store that
    common object in a common cache accessible to both web-apps. The problem
    is the 2 web-apps have a different classloader, so how do I return an
    object that was stored by web-app1 to be used with web-app2 without getting a ClassCastException
    -

    First question is whether the Web-Apps are on the same JVM - if you're using Tomcat, it is likely that they are. The next question is whether the Web-Apps' classloaders descend from a common parent classloader - again in Tomcat this is the case. If they do, then you should use the common parent classloader to instantiate the classes that need to be shared.
    To do this, you need to add the common classes to either the system classpath or to the classpath configured for your servlet/jsp engine. If the Web-Apps' classloaders are standard they will defer any requests initially to their parent classloader which will provide them with the same class definition and make it so that these classes can be shared between the Web-Apps.
    Now comes the nitty-gritty of implementation. The best way to share a common object is via a static instance in one of the classes loaded by the parent classloader, using the singleton pattern or the like.
    A trivial example would be if you wanted to hold a map of common (thread-safe) objects:public class Shared{
        private static java.util.HashMap sharedMap;
        static{
            // Thread safe, assuming all shared objects are initialised
            // in this static block.
            // If objects are to be created and placed in the
            // sharedMap later, use the synchronized map wrapping
            // methods from the Collections utility class.
            sharedMap = new java.util.HashMap();
            ... //instantiate and store the shared objecs here.
        public static Object getCommonObject(String key){
            return sharedMap.get(key);
    }As long as the Shared class comes from an ancestral classloader, both Web-Apps will see the same map of the same objects.
    Hope this helps,
    Bob B.

  • Where to download JVM source code? Thanks.

    AhJin

    Hi,
    The JVM consists of the ClassLoader,ByteCode Verifier,and JIT.Now for the developing of the JVM you require to develop all three parts.But Classloader again have BootStrap Classloader,Extension ClassLoader and Application ClassLoader.Out of these you have the BootStrapClassLoader Developed in C++/C(You can check the code).
    BootStrap Class Loader is basically developed for all platforms as it will load the rt.jar the basic java classes.So all the OS have different implementaion of this class loader.Rest all is developed in the Java.
    Now comming to your query I would like you to check the JAVA_HOME/include directory where you can find win32 and some *.h files which are basically should be the implementation of your JVM.I am talking about the hotspot JVM.
    So with the download of hotspot for windows you have source code also embeded in that.
    Hope this helps you
    regards
    Vicky

  • Where to download jvm

    I looking where I can download a jvm for linux,using wget. every time I get a hickup on my line I have to start downloading again. Any help please.

    Hi,
    The JVM consists of the ClassLoader,ByteCode Verifier,and JIT.Now for the developing of the JVM you require to develop all three parts.But Classloader again have BootStrap Classloader,Extension ClassLoader and Application ClassLoader.Out of these you have the BootStrapClassLoader Developed in C++/C(You can check the code).
    BootStrap Class Loader is basically developed for all platforms as it will load the rt.jar the basic java classes.So all the OS have different implementaion of this class loader.Rest all is developed in the Java.
    Now comming to your query I would like you to check the JAVA_HOME/include directory where you can find win32 and some *.h files which are basically should be the implementation of your JVM.I am talking about the hotspot JVM.
    So with the download of hotspot for windows you have source code also embeded in that.
    Hope this helps you
    regards
    Vicky

  • 64-bit JNI C++ to JAVA invocation multiple threads classloader problem

    Hi ALL,
    I have a C++ app that invokes Java classes on 64-bit Solaris 10 with 64-bit JVM.
    Here is the problem:
    The native non-main (not the thread that initializes the JVM) threads would not be able to find any user-define class.
    Here are the symptoms and observations:
    1. JNIEnv::ExceptionDescribe() showed the following StackOverflowError:
    Exception in thread "Thread-0" java.lang.StackOverflowError
            at java.util.Arrays.copyOf(Arrays.java:2734)
            at java.util.Vector.ensureCapacityHelper(Vector.java:226)
            at java.util.Vector.addElement(Vector.java:573)
            at java.lang.ClassLoader.addClass(ClassLoader.java:173)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)2. The "main thread" that instantiates the JVM has no problem finding and loading any class or method
    3. But the other threads (non-main threads) would not be able to find the user-defined classes unless the classes were already loaded by the main thread.
    4. The non-main threads can find the "standard" java classes with no problem
    5. The same app ran fine on 32-bit system.
    6. Except for the JVM reference is global, each thread acquired JNIEnv by either GetEnv() or AttachCurrentThread().
    Any idea why it is a problem with 64-bit?
    I have the sample program to reproduce this issue in this thread: http://forums.sun.com/thread.jspa?messageID=10885363&#10885363. That was the original thread I raised but I have narrowed it down to a more concrete scenario. That's why I am creating this new thread. I hope this does not break any rule on this forum. If it does, I apologize.
    I really appreciate it if anyone can provide any help/suggestion.
    Regards,
    - Triet

    Here is the sample program. Again, this works on 32-bit but not 64-bit.
    #include <string>
    #include "jni.h"
    #include "TestThread.h"
    static JavaVM *g_pjvm = NULL;  /* denotes a Java VM */
    static JNIEnv *g_penv = NULL;  /* pointer to native method interface */
    void initJVM(char** jvmOptions) {
        printf("RJniTest init starts...\n");
        JavaVMInitArgs vm_args; /* JDK/JRE 6 VM initialization arguments */
        JavaVMOption* poptions;
        int optionLen = 0;
        while (jvmOptions[optionLen]) {
            optionLen++;
        printf("RJniTest::init len=%d\n", optionLen);
        if (optionLen > 0) {
            printf("RJniWrapper::init jvmOptions\n");
            poptions = new JavaVMOption[optionLen];
            //poptions[0].optionString = "-Djava.class.path=/usr/lib/java";
            int idx = 0;
            while (jvmOptions[idx]) {
                poptions[idx].optionString = jvmOptions[idx];
                idx++;
        printf("RJniTest::init vm_args: version(%x), nOptions(%d)\n",
                JNI_VERSION_1_6, optionLen);
        vm_args.version = JNI_VERSION_1_6;
        vm_args.nOptions = optionLen;
        vm_args.options = poptions;
        vm_args.ignoreUnrecognized = JNI_FALSE;
        // load and initialize a Java VM, return a JNI interface
        // pointer in env
        printf("RJniTest::init creates JVM\n");
        JNI_CreateJavaVM(&g_pjvm, (void**)&g_penv, &vm_args);
        printf("RJniTest init ends\n");
    void findClass(const char* classname) {
        static const char* fname = "justFindClasses";
        printf("%s: findClass: %s\n", fname, classname);
        JNIEnv* jenv;
        jint ret = g_pjvm->GetEnv((void**)&jenv, JNI_VERSION_1_6);
        if (ret == JNI_EDETACHED) {
            ret = g_pjvm->AttachCurrentThread((void**)&jenv, NULL);
            if (ret != JNI_OK || jenv == NULL) {
                printf("%s: get env error: ret=%d\n", ret, fname);
            } else {
                printf("%s: got new env\n", fname);
        } else if (ret == JNI_OK) {
            printf("%s: env already there\n");
        jclass classref;
        classref = jenv->FindClass(classname);
        if (classref == NULL) {
            printf("%s: %s class not found!\n", fname, classname);
            if (jenv->ExceptionOccurred()) {
                jenv->ExceptionDescribe();
                jenv->ExceptionClear();
        printf("%s: found class: %s\n", fname, classname);
    class RJniTestThread : public TestThread {
    public:
        void threadmain();
    void RJniTestThread::threadmain() {
        printf("RJniTestThread::threadmain: Starting testing\n");
        findClass("org/apache/commons/logging/Log");
        findClass("java/util/List");
        printf("RJniTestThread::threadmain: done.\n");
    int main(int argc, char** argv) {
        char **jvmOptions = NULL;
        printf("RJniTestDriver starts...\n");
        if (argc > 1) {
            jvmOptions = new char*[argc];
            for (int i = 0; i < argc ; i ++) {
                jvmOptions[i] = argv[i + 1];
            jvmOptions[argc - 1] = NULL;
        } else {
            int size = 8;
            int i = 0;
            jvmOptions = new char*[size];
            jvmOptions[i++] = (char*) "-Djava.class.path=<list of jar files and path here>";
            jvmOptions[i++] = (char*) "-Djava.library.path=/sandbox/mxdev/3rdparty/java/unix/jdk1.6.0_14/jre/lib/sparc";
            jvmOptions[i++] = (char*) "-Djava.compiler=NONE";
            jvmOptions[i++] = (char*) "-verbose:jni";
            jvmOptions[i++] = (char*) "-Xcheck:jni";
            jvmOptions[i++] = NULL;
        printf("init JVM\n");
        initJVM(jvmOptions);
        // UNCOMMENT HERE
        // findClass("org/apache/commons/logging/Log");
        // findClass("java/util/List");
        // UNCOMMENT END
        printf("start test thread\n");
        RJniTestThread testThread;
        ThreadId tid = testThread.launch();
        printf("wait for test thread\n");
        int ret = pthread_join(tid, NULL);
        printf("RJniTestDriver ends\n");
    }

  • Problem with XMLDecoder and a custom ClassLoader

    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    I am implementing an application based around Java Plugin Framework (jpf.sourceforge.net). In short one consequence of this framework is that each plugin uses its own classloader with scope of that plugins classes.
    One plugin I am using requires the ability to deserialize objects from a javabean xml file. I am using XMLDecoder to do this, and I used the constructor to pass the current plugin ClassLoader to it.
    This however only partially seems to work, this is a shortened extract from an example xml
    <java version="1.5.0" class="java.beans.XMLDecoder">
    <object class="usermanager.javabeans.BeanUser">
      <string>drftpd</string>
      <void property="downloadedBytes">
       <long>737132544</long>
      </void>
      <void property="hostMaskCollection">
       <void method="add">
        <object class="usermanager.HostMask">
         <string>*@*</string>
        </object>
       </void>
      </void>
       <void property="keyedMap">
       <void method="put">
        <object class="dynamicdata.Key">
         <class>commands.UserManagement</class>
         <string>slots</string>
         <class>java.lang.Integer</class>
        </object>
        <int>0</int>
       </void>
    etc...Now without passing XMLDecoder a ClassLoader as would be expected I get a ClassNotFoundException for the first <object>.
    However if I pass XMLDecoder the correct ClassLoader it reads the xml fine until it reaches <class>commands.UserManagement</class> at which point again I get a ClassNotFoundException.
    Here is the stacktrace from that exception:
    java.lang.ClassNotFoundException: commands.UserManagement
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:67)
         at com.sun.beans.ObjectHandler.classForName(ObjectHandler.java:54)
         at java.beans.Statement.invoke(Statement.java:140)
         at java.beans.Expression.getValue(Expression.java:98)
         at com.sun.beans.MutableExpression.getValue(ObjectHandler.java:400)
         at com.sun.beans.ObjectHandler.getValue(ObjectHandler.java:106)
         at com.sun.beans.ObjectHandler.endElement(ObjectHandler.java:327)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:625)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:344)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:120)
         at java.beans.XMLDecoder.readObject(XMLDecoder.java:205)
         at usermanager.javabeans.BeanUserManager.loadUser(BeanUserManager.java:128)
    Now after looking through some of the source it appears to me at least that XMLDecoder when processing an <object> uses an ObjectHandler with the ClassLoader as a parameter, however a class contained within a <class> element gets handled by Statement.invoke() which uses an ObjectHandler without a ClassLoader specified thus using the standard ClassLoader.
    I've managed to work around it for now by setting the contextClassLoader to the correct one before calling readObject() in XMLDecoder and then reverting it back immediately after, but this feels like somewhat of a hack to me.
    I would've expected it to have been properly handled when passing the ClassLoader to XMLDecoder rather than like it is.
    Anyone know if this is intended behaviour or a bug? and if the former is there any recommended way to deal with this other than the one I'm currently using.
    NOTE: Posted over in Serialization forum as more appropriate there, sorry for the crosspost but didn't notice that forum at first. Please direct any replies there.
    Message was edited by:
    djb61
    NOTE: Reposting to Serialization

    You can provide a cell renderer to the JTree to paint the checkBox.
    The following code checks or unchecks the box with each click also:
    _tree.setCellRenderer(new DefaultTreeCellRenderer()
      private JCheckBox checkBox = null;
      public Component getTreeCellRendererComponent(JTree tree,
                                                    Object value,
                                                    boolean selected,
                                                    boolean expanded,
                                                    boolean leaf,
                                                    int row,
                                                    boolean hasFocus)
        // Each node will be drawn as a check box
        if (checkBox == null)
          checkBox  = new JCheckBox();
          checkBox .setBackground(tree.getBackground());
        DefaultMutableTreeNode node = (DefaultMutableTreeNode)value;
        checkBox.setText(node.getUserObject().toString());
        checkBox.setSelected(selected);
        return checkBox;
    });

  • The content of this page failed to load as expected because data transmission was interrupted. Please try again, or contact your system administrator.

    jdeveloper 11.1.2.0
    version 64
    hi
    this message appear when my page appear and wait time to fetch data but no data come
    "The content of this page failed to load as expected because data transmission was interrupted. Please try again, or contact your system administrator. "
    this error some page work fine and some like this give me this message why ?
    and for log
    ####<Sep 19, 2013 10:54:34 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1379577274094> <BEA-090082> <Security initializing using security realm myrealm.>
    ####<Sep 19, 2013 10:54:40 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <> <1379577280708> <BEA-000365> <Server state changed to STANDBY>
    ####<Sep 19, 2013 10:54:40 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <> <1379577280777> <BEA-000365> <Server state changed to STARTING>
    ####<Sep 19, 2013 10:54:42 AM AST> <Warning> <oracle.as.jmx.framework.MessageLocalizationHelper> <ABHO-IT-AHMAD> <DefaultServer> <JMX FRAMEWORK Domain Runtime MBeanServer pooling thread> <<anonymous>> <> <0000K4pDfiFE8Ty707MaMF1IEeqy000001> <1379577282352> <J2EE JMX-46041> <The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Log Management> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1379577302172> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000006> <1379577302287> <BEA-000365> <Server state changed to ADMIN>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000006> <1379577302332> <BEA-000365> <Server state changed to RESUMING>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302454> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file D:\ORACLE~1\MIDDLE~2\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302528> <BEA-090169> <Loading trusted certificates from the jks keystore file D:\ORACLE~1\MIDDLE~2\WLSERV~1.3\server\lib\DemoTrust.jks.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302531> <BEA-090169> <Loading trusted certificates from the jks keystore file D:\ORACLE~1\MIDDLE~2\JDK160~1\jre\lib\security\cacerts.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302580> <BEA-090898> <Ignoring the trusted CA certificate "CN=Entrust Root Certification Authority - G2,OU=(c) 2009 Entrust\, Inc. - for authorized use only,OU=See www.entrust.net/legal-terms,O=Entrust\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302584> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302588> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302589> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302592> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302593> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302595> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302602> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Security> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302605> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Server> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302628> <BEA-002613> <Channel "DefaultSecure" is now listening on 127.0.0.1:7102 for protocols iiops, t3s, ldaps, https.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302629> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <Server> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000000a> <1379577302628> <BEA-002613> <Channel "Default" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000006> <1379577302763> <BEA-000360> <Server started in RUNNING mode>
    ####<Sep 19, 2013 10:55:02 AM AST> <Notice> <WebLogicServer> <ABHO-IT-AHMAD> <DefaultServer> <main> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000006> <1379577302763> <BEA-000365> <Server state changed to RUNNING>
    ####<Sep 19, 2013 10:55:36 AM AST> <Warning> <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000002a> <1379577336590> <BEA-000000> <Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml>
    ####<Sep 19, 2013 10:55:42 AM AST> <Warning> <org.apache.myfaces.trinidad.component.UIXEditableValue> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000002d> <1379577342537> <BEA-000000> <A Bean Validation provider is not present, therefore bean validation is disabled>
    ####<Sep 19, 2013 11:00:06 AM AST> <Error> <HTTP> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000049> <1379577606792> <BEA-101017> <[ServletContext@166723[app:pms module:pms-ViewController-context-root path:/pms-ViewController-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@13038c7[
    GET /pms-ViewController-context-root/faces/Projects?_adf.ctrl-state=1868ecjjey_3&Adf-Rich-Message=true&unique=1379577605234&oracle.adf.view.rich.STREAM=pt1:t2&javax.faces.ViewState=!11i3l2zal9&Adf-Window-Id=w0 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://localhost:7101/pms-ViewController-context-root/faces/TaskStuts?_adf.ctrl-state=1868ecjjey_3
    Cookie: JSESSIONID=7wJxS6tWTJX1JPKj5Jp4X4Tl4g29drQTyGbRJ701xTxgT5TGvh3w!498953664
    Connection: keep-alive
    ]] Root cause of ServletException.
    java.lang.NoClassDefFoundError: javax/faces/event/ExceptionQueuedEventContext
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._publishException(LifecycleImpl.java:816)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1446)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:208)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.ClassNotFoundException: javax.faces.event.ExceptionQueuedEventContext
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
      at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._publishException(LifecycleImpl.java:816)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1446)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:208)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Sep 19, 2013 11:00:06 AM AST> <Notice> <Diagnostics> <ABHO-IT-AHMAD> <DefaultServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000004b> <1379577606817> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Sep 19, 2013 11:00:06 AM AST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Sep 19, 2013 11:00:06 AM AST SERVER = DefaultServer MESSAGE = [ServletContext@166723[app:pms module:pms-ViewController-context-root path:/pms-ViewController-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@13038c7[
    GET /pms-ViewController-context-root/faces/Projects?_adf.ctrl-state=1868ecjjey_3&Adf-Rich-Message=true&unique=1379577605234&oracle.adf.view.rich.STREAM=pt1:t2&javax.faces.ViewState=!11i3l2zal9&Adf-Window-Id=w0 HTTP/1.1
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-US,en;q=0.5
    Accept-Encoding: gzip, deflate
    Referer: http://localhost:7101/pms-ViewController-context-root/faces/TaskStuts?_adf.ctrl-state=1868ecjjey_3
    Cookie: JSESSIONID=7wJxS6tWTJX1JPKj5Jp4X4Tl4g29drQTyGbRJ701xTxgT5TGvh3w!498953664
    Connection: keep-alive
    ]] Root cause of ServletException.
    java.lang.NoClassDefFoundError: javax/faces/event/ExceptionQueuedEventContext
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._publishException(LifecycleImpl.java:816)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1446)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:208)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.ClassNotFoundException: javax.faces.event.ExceptionQueuedEventContext
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
      at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._publishException(LifecycleImpl.java:816)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1446)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:208)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = ABHO-IT-AHMAD TXID =  CONTEXTID = e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000049 TIMESTAMP = 1379577606792
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    ####<Sep 19, 2013 11:00:10 AM AST> <Alert> <Diagnostics> <ABHO-IT-AHMAD> <DefaultServer> <oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl - Incident Dump Executor (created: Thu Sep 19 11:00:08 AST 2013)> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000004f> <1379577610100> <BEA-320016> <Creating diagnostic image in c:\users\ahmed-it\appdata\roaming\jdeveloper\system11.1.2.0.38.60.17\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_20 with a lockout minute period of 1.>
    ####<Sep 19, 2013 11:01:07 AM AST> <Warning> <Common> <ABHO-IT-AHMAD> <DefaultServer> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000048> <1379577667721> <BEA-000632> <Resource Pool "pms" shutting down, ignoring 1 resources still in use by applications..>
    ####<Sep 19, 2013 11:01:24 AM AST> <Warning> <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000005a> <1379577684728> <BEA-000000> <Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml>
    ####<Sep 19, 2013 11:01:34 AM AST> <Warning> <org.apache.myfaces.trinidad.component.UIXEditableValue> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000005f> <1379577694830> <BEA-000000> <A Bean Validation provider is not present, therefore bean validation is disabled>
    ####<Sep 19, 2013 11:02:06 AM AST> <Error> <javax.faces.event> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000068> <1379577726178> <BEA-000000> <Received 'javax.faces.event.AbortProcessingException' when invoking action listener '#{bindings.Commit.execute}' for component 'cb7'>
    ####<Sep 19, 2013 11:02:06 AM AST> <Error> <javax.faces.event> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000068> <1379577726182> <BEA-000000> <javax.faces.event.AbortProcessingException: ADFv: Abort processing exception.
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:199)
      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 com.sun.el.parser.AstValue.invoke(Unknown Source)
      at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
      at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:814)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:105)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Sep 19, 2013 11:02:06 AM AST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000068> <1379577726194> <BEA-000000> <ADF: Adding the following JSF error message: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3887)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
      at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)
      at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8494)
      at pms.model.eo.ProjectsImpl.doDML(ProjectsImpl.java:245)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
      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 com.sun.el.parser.AstValue.invoke(Unknown Source)
      at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
      at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:814)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:105)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Sep 19, 2013 11:02:06 AM AST> <Warning> <oracle.adf.controller.faces.lifecycle.Utils> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000068> <1379577726297> <BEA-000000> <ADF: Adding the following JSF error message: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3887)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1508)
      at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
      at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:432)
      at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8494)
      at pms.model.eo.ProjectsImpl.doDML(ProjectsImpl.java:245)
      at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6751)
      at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3264)
      at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3067)
      at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2071)
      at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
      at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
      at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1414)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:185)
      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 com.sun.el.parser.AstValue.invoke(Unknown Source)
      at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
      at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
      at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:148)
      at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:814)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:105)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<Sep 19, 2013 11:06:31 AM AST> <Warning> <Common> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000075> <1379577991286> <BEA-000632> <Resource Pool "pms" shutting down, ignoring 1 resources still in use by applications..>
    ####<Sep 19, 2013 11:06:44 AM AST> <Warning> <org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-000000000000007d> <1379578004059> <BEA-000000> <Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml>
    ####<Sep 19, 2013 11:06:48 AM AST> <Warning> <org.apache.myfaces.trinidad.component.UIXEditableValue> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000080> <1379578008443> <BEA-000000> <A Bean Validation provider is not present, therefore bean validation is disabled>
    ####<Sep 19, 2013 11:06:48 AM AST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <ABHO-IT-AHMAD> <DefaultServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <e234f3f4721f40cd:1d6f37d9:1413536b1b6:-8000-0000000000000083> <1379578008782> <BEA-000000> <Error Rendering View[/Projects]
    oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 2 with java object of type java.lang.Integer due to java.sql.SQLException.
      at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(AttributeDefImpl.java:2435)
      at oracle.jbo.server.ViewRowImpl.populate(ViewRowImpl.java:3842)
      at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:2378)
      at oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:6005)
      at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:5834)
      at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3568)
      at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3423)
      at oracle.jbo.server.QueryCollection.get(QueryCollection.java:2173)
      at oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:5115)
      at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(ViewRowSetIteratorImpl.java:2935)
      at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2804)
      at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2751)
      at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStartWithRefresh(ViewRowSetIteratorImpl.java:2724)
      at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(ViewRowSetIteratorImpl.java:2714)
      at oracle.jbo.server.ViewRowSetImpl.setRangeStart(ViewRowSetImpl.java:3015)
      at oracle.jbo.server.ViewObjectImpl.setRangeStart(ViewObjectImpl.java:10639)
      at oracle.adf.model.binding.DCIteratorBinding.setRangeStart(DCIteratorBinding.java:3552)
      at oracle.adfinternal.view.faces.model.binding.RowDataManager._bringInToRange(RowDataManager.java:101)
      at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowIndex(RowDataManager.java:55)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:800)
      at org.apache.myfaces.trinidad.component.UIXCollection.setRowIndex(UIXCollection.java:530)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:2694)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:2431)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1632)
      at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:558)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
      at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:493)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:913)
      at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:617)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
      at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:116)
      at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:505)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacetAsStretched(PanelStretchLayoutRenderer.java:856)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacet(PanelStretchLayoutRenderer.java:834)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.visitChildrenForEncodingImpl(PanelStretchLayoutRenderer.java:793)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:387)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitAllChildren(UIXComponent.java:411)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:392)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._visitFacetAsStretched(PanelSplitterRenderer.java:393)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._visitFacet(PanelSplitterRenderer.java:371)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.visitChildrenForEncodingImpl(PanelSplitterRenderer.java:342)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:387)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.visitChildrenForEncodingImpl(DecorativeBoxRenderer.java:214)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:387)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.visitChildrenForEncodingImpl(DecorativeBoxRenderer.java:214)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:387)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.DecorativeBoxRenderer.visitChildrenForEncodingImpl(DecorativeBoxRenderer.java:214)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2393)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:387)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitChildren(UIXComponent.java:669)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:532)
      at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:354)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacetAsStretched(PanelStretchLayoutRenderer.java:856)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._visitFacet(PanelStretchLayoutRenderer.java:834)
      at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.visitChildrenForEncodingImpl(PanelStretchLayoutRenderer.java:793)
      at oracle.adf.view.rich.render.RichRenderer.visitChildrenForEncoding(RichRenderer.java:2404)
      at

    You are kidding?  It took me about 3 minutes to scroll down on my tab to get to the triplex button!
    Habe you read the error message? 
    Quote:
    java.sql.SQLSyntaxErrorException: ORA-04098: trigger 'PMS.PROJECT_SEQ' is invalid and failed re-validation
    Check the trigger and it should work again.
    Timo

  • Loading jar at runtime using custom classloader

    Hi,
    I'm trying to load a jar file to an application running inside weblogic at runtime.
    I followed the example that was posted at
    http://dev2dev.bea.com/cs/user/blog?file=/blog/jcscoobyrs/archive/2005/05/realworld_use_f.html
    and did the following:
    URLClassLoader loader = null;
    URL[] urls = {new URL("file:///" + "C:/Program Files/aaa/WEB-INF/lib/ImportTest3.jar")};
    ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    ClassLoader loader = new URLClassLoader(urls, classLoader);
    Thread.currentThread().setContextClassLoader(loader);
    Class customClass = Class.forName(className, true, loader);
    customCode = customClass.newInstance();
    Thread.currentThread().setContextClassLoader(classLoader);
    everything works fine when I access my application once.
    But when I'm trying to do the same again, everything fails.
    Any ideas?
    Thanks!

    When you say everything fails - can you clarify the failure? Can you paste the stacktrace? Is it a ClassNotFoundException?

  • Writting a ClassLoader

    I'm trying to write a ClassLoader that, when trying to load a class, looks for it in a special directory if the normal way doesn't find it.
    I've overriden the findClass method to do the job. It is supposed that the findClass method will call it if the parent classloaders could not load the class.
    The I have write a wrapper to instantiate my ClassLoader and ask it to load the main class of any application, using reflection to get the main method.
    My problem is this: If the main class of the application is not found in the classpath, the findClass method is called and everything seems to work fine. But if the main class is in the classpath, and other classes are not, my findClass method is never called and I get a NoClassDefFound error.
    Does anyone know why the findClass method is not called? Why do I receive a NoClassDefFound error instead of a ClassNotFound exception?
    Any clue welcome!

    I wrote this somewhere once... some people seemed to find it helpful....
    Back to the original question. You want to "unload" a class or set of classes from the VM. Alright, first we have to understand how classes are identified in the VM. A classes "Primary Key" if you will, is its fully qualified name, here it come.... AND a reference to the class loader that loaded it.
    So how do we use this information to unload and load some "plugin". Well we know we need to make our own classloader. You can either make your own custom extension, or you can use something like the URL classloader. Next we need to construct this classloader with the current classloader as it's parent. The current classloader might be the bootstrap, or it might be something else (Java Web Start)... This makes using not yet loaded classes in the "normal" classpath possible because the parent will find them. Looking closely we see a problem... If the "plugin" is in the classpath then the parent will just load it. Yeah, it will, so don't put it in the classpath. That's what the URL part of the URLClassloader is for. After all this, we can reflectively load our "plugin" which is located off of the classpath, with our custom classloader.
    Now, on to reloading. When a classloader, or class gets GCed has no impact at all on these methods. There could be a gig of classes in memory. If they didn't get loaded by classloader reference I'm holding, I don't care. Here's the idea of the reload. You create a new classloader, and then reflectively invoke the methods and classes you needed all over again. This causes them to be read into the VM again, because their "Primary Key" is different. You need to remember this though, and make sure your using the right classloader to get these classes.
    This does work. I have implemented it. I have a piece of software which generates java source code, compiles it, then runs it by a reflective invokation so I can control it. When the user changes something, I re-generate, re-compile, and reload the classes and run the new ones.
    enjoy

  • HELP!! ClassCastException with custom module classloader hierarchy and redeployment

    Hi,
    I am defining custom module classloader hierarchy to avoid redeploying of the
    entire application mainly because we have so many EJBs and it takes a long time
    to deploy the entire app. I deploy my app using the exploded directory, add a
    new method to an EJB in my dal.jar, redeploy, run my unittest and I get ClassCastException.
    I am using weblogic.Deployer utility to reploy my module using "-targets dal.jar@accsserver"
    argument. I even tried undeploying that module and redeploy again with no luck.
    here is weblogic-application.xml definition of the custom class loader
    <classloader-structure>
    <module-ref>
         <module-uri>floghmi.war</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>cts.jar</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>fdbs.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
              <module-uri>dml.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
         <module-uri>dal.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </classloader-structure>
    thanks,
    Nasrin

    Rob,
    regarding your question on redeploying the whole app without the classloader
    structure, yes, that works fine. If I change a class and redeploy the whole app,
    things are ok. However, when I speocify the classloader structure, and try to
    redeploy the dal.jar, I get ClassClasException.
    You are right about dml.jar being in a separate classloader. I have changed my
    structure after I posted my question to load dml.jar from the application classloader.
    So Rob, is there a bug in Weblogic 8.1 that causes this exception?
    please let me know, I am anxiously waiting your response.
    thanks,
    Nasrin
    Rob Woollen <[email protected]> wrote:
    >
    >
    Nasrin Azordegan wrote:
    Rob,
    if I remove my classloader structure from weblogic-application.xml,I get an
    error during redeployment, saying "You must include all of<list ofmy module names
    here> in your files list to modify <dal.jar>. Yes, the server enforces constraints on partial redeployments. You must
    deploy all the modules in a given classloader and any modules in child
    classloaders.
    Just to make sure, if you initially deploy your app, or redeploy the
    whole thing, it works fine without the classloader-structure, right?
    The problem I am trying to solve is to minimize our deployment time.Our application
    has over 700 CMP 2.0 entity beans and 200 session beans. Our applicationdeployment
    follows the J2EE layer architecture. The data mapping layer which consistof 700
    entity beans are located in dml.jar. The data access layer which consistof 200
    session beans are located in dal.jar. We create our ear with thesetwo jar files
    plus some other framework jars and deploy on bea weblogic 8.1 SP2 andthat takes
    about an hour. I need to be able to modify a session bean, i.e. changethe implementation
    of a session bean or add a new method to a session bean interface andredeploy
    only data access layer, the dal.jar, not the entity beans. This explainswhy you
    see dml.jar in a classloader with a child classloader that loads dal.jar.
    I included the ClassCastException from weblogic server console below.What is
    happening is that I have a session bean with 6 methods that just doesa println.
    I deploy my session bean, ExerciseSessionBeanFactory, and run my unittest that
    invokes test1 through test6 methods. I modify my bean to add "test7"method and
    redeply dal.jar successfully. I run my unit test that invokes test1through test7
    methods and then I get a ClassCastException.
    I hope this helps. Please let me know if you need more details.If you push dml.jar into a subloader, that means you can change dml.jar
    without touching anything in the parent loader. However, it also means
    that you've isolated it's classes and other modules can't see them.
    -- Rob
    thanks,
    Nasrin
    in test method
    in test2 method
    in test3 method
    in test4 method
    in test5 method
    in test6 method
    <Apr 12, 2004 9:26:03 AM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
    EJB: SimTimeListener is unable to connect
    to the JMS destination: cn=t.cms.cts.simTimeInfo. Connection failedafter 184
    attempts. The MDB will attempt to reconne
    ct every 10 seconds. This log message will repeat every 600 secondsuntil the
    condition clears.>
    <Apr 12, 2004 9:26:03 AM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    EJB: SimTimeListener is unable to connect
    to the JMS destination: cn=t.cms.cts.simTimeInfo. The Error was:
    [EJB:011011]The Message-Driven EJB attempted to connect to the JMSdestination
    with the JNDI name: cn=t.cms.cts.simTimeI
    nfo. However, the object with the JNDI name: cn=t.cms.cts.simTimeInfois not a
    JMS destination, or the destination found
    was of the wrong type (Topic or Queue).>
    in test method
    in test2 method
    in test3 method
    in test4 method
    in test5 method
    in test6 method
    <Apr 12, 2004 9:28:26 AM PDT> <Warning> <RMI> <BEA-080003> <RuntimeExceptionthrown
    by rmi server: com.trs.cv.infr.istr.
    sc.sim.factory.ejb.ExerciseSessionFactory_zhotso_EOImpl.test7()
    java.lang.ClassCastException.
    java.lang.ClassCastException
    at com.trs.cv.infr.istr.sc.sim.factory.ejb.ExerciseSessionFactory_zhotso_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Rob Woollen <[email protected]> wrote:
    You'll have to give me some more information on the ClassCastException.
    Where does it happen? Print out the classnames and the
    classloaders of the 2 objects.
    Does everything work fine if you remove your classloader-structure?
    -- Rob
    Nasrin Azordegan wrote:
    Hi,
    I am defining custom module classloader hierarchy to avoid redeployingof the
    entire application mainly because we have so many EJBs and it takesa long time
    to deploy the entire app. I deploy my app using the exploded directory,add a
    new method to an EJB in my dal.jar, redeploy, run my unittest and
    I
    get ClassCastException.
    I am using weblogic.Deployer utility to reploy my module using "-targetsdal.jar@accsserver"
    argument. I even tried undeploying that module and redeploy again
    with
    no luck.
    here is weblogic-application.xml definition of the custom class loader
    <classloader-structure>
    <module-ref>
         <module-uri>floghmi.war</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>cts.jar</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>fdbs.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
              <module-uri>dml.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
         <module-uri>dal.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </classloader-structure>
    thanks,
    Nasrin

  • Classloading [EAR] - [webapp.war+ejb.jar]

    Hi.
    I've got a problem with the classloader hierarchy in WL 6.0.
    When I deploy my war/ejb application as an EAR, everything works fine.
    But I want (for several reasons) to deploy
    EJB jars and WebApp wars (or exploded Web Apps) seperately.
    WL 6.0 EJB classloader doesn't export remote/home interfaces and
    helper classes,
    so my web app can't find them.
    When I include that interfaces/classes in my Web App, I get
    occasionally ClassCastExceptions (I assume depending on classloader
    caching).
    Is there a way to configure the classloader hierarchy, or do you have
    any other solution for this?
    Thanks,
    Roman

    Hello,
    I have a big application to do.
    So, one solution should be to use an EAR for one
    module, containing the WAR for the web-tier and the
    EJB-JAR for the business-tier.
    It would be better doing like this than creating a
    big WAR, in order to avoid to deploy a big WAR when a
    modification is done in one module.Are you using local EJBs or remote EJBs? The only way for a war to talk to a local EJB is to package the war along with the ejb-jar in an EAR file because they need to be collocated. You can not simply bundle EJB classes in a war file.
    If you are using remte EJBs, then you can package the EJB client view classes along with the servlets and JSPs in the war file and deploy the war separately. But again your war will be one big war.
    If your EJBs are just entity beans, then Java EE 5 (see http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html) allows you some nice options.
    >
    What about the problem of the session ?
    In fact, I have to declare a context-root for one
    EAR.
    And at each context-root is created an object
    HttpSession on the server.
    So, I have some questions about this :
    - How can I configure my WARs in order to use only
    one HttpSession object for every WARs ?
    There is no standard way to do this. Relying on any application server specific feature can only make your app non-portable. So I strongly recommend you not to do this.
    - Can I put multiple WARs in one EAR ?Of course you can.
    If yes, what about the context-root ? This solution would resolve
    the session problem.Can't be solved using any standard way. So I suggest you stick to one big war, if that's what your business requirement is.To speed up development-deployment-test cycle, any appserver allows a rapid deployment option where in you can deploy incremental changes to server. Use this facility during development. DON'T sacrifice portability of your app by using any product specific configuration that you may not find any where else.
    Thanks,
    Sahoo

  • Classloading in WLS

    We have a web applicaton deployed on WLS.
    we have added few jar files inside WEB-INF/lib directory of the application war. Within our app , we have a requirement to scan through the jar files (inside WEB-INF/lib) manifests and detects something.
    Is it guaranteeing that all the Jar files inside WEB-INF/lib is loaded into application class loader?
    If yes, can i get hold of the application classloader from within a java class inside the Web application ?
    Thanks
    Joseph George

    "Is it guaranteeing that all the Jar files inside WEB-INF/lib is loaded into application class loader?"
    Note that this depends on which classes (jars) you have in the WEB-INF/lib directory. WebLogic uses the delegation
    model to load classes; when classes are already loaded, they do not get loaded again by the application class loader.
    WebLogic provides an override mechanism by the so-called filtering class loader configuration. Some examples are given here:
    - http://middlewaremagic.com/weblogic/?p=5861
    - http://middlewaremagic.com/weblogic/?p=6725
    "... can i get hold of the application classloader from within a java class inside the Web application ?"
    Very good question. Not to my knowledge - http://docs.oracle.com/cd/E21764_01/web.1111/e13706/classloading.htm#i1080994

  • Converting byte[] to Class without using defineClass() in ClassLoader

    so as to de-serialize objects that do not have their class definitions loaded yet, i am over-riding resolveClass() in ObjectInputStream .
    within resolveClass() i invoke findClass() on a network-based ClassLoader i created .
    within findClass() , i invoke
    Class remoteClass = defineClass(className, classImage, 0, classImage.length);
    and that is where i transform a byte[] into a Class , and then finally return a value for the resolveClass() method.
    this seems like a lengthy process. i mean, within resolveClass() i can grab the correct byte[] over the network.
    then, if i could only convert this byte[] to a Class within resolveClass() , i would never need to extended ClassLoader and over-ride findClass() .
    i assume that the only way to convert a byte[] to a Class is using defineClass() which is hidden deep within ClassLoader ? there is something going on under the hood i am sure. otherwise, why not a method to directly convert byte[] to a Class ? the byte[] representation of a Class always starts with hex CAFEBABE, and then i'm sure there is a standard way to structure the byte[] .
    my core issue is:
    i am sending objects over an ObjectInputStream created from a Socket .
    at the minimum, i can see that resolveClass() within ObjectInputStream must be invoked at least once .
    but then after that, since the relevant classes for de-serialization have been gotten over the network, i don't want to cascade all the way down to where i must invoke:
    Class remoteClass = defineClass(className, classImage, 0, classImage.length);
    again. so, right now, within resolveClass() i am using a Map<String, Class> to create the following class cache:
    cache.put(objectStreamClass.getName(), Class);
    once loaded, a class should stay loaded (even if its loaded in the run-time), i think? but this is not working. each de-serialization cascades down to defineClass() .
    so, i want to short-circuit the need to get the class within the resolveClass() method (ie. invoke defineClass() only once),
    but using a Map<String, Class> cache looks really stupid and certainly a hack.
    that is the best i can do to explain my issue. if you read this far, thanks.

    ok. stupid question:
    for me to use URLClassLoader , i am going to need to write a bare-bones HTTP server to handle the class requests, right?Wrong. You have to deploy one, but what's wrong with Apache for example? It's free, for a start.
    and, i should easily be able to do this using the com.sun.net.httpserver library, right?Why would you bother when free working HTTP servers are already available?

  • Static variable, a bug in applet classloader, Java plug-in?

    I found a potential bug in java plug-in.
    Environment,
    1. IE 6.0
    2. Windows XP
    3. JRE 1.3.1.06 and JRE 1.4.1.01
    Steps,
    1. build a very simple applet (attached below)
    2. embed the applet into a .html page.
    3. enable java plug-in for IE and Netscape.
    4. launch the .html page in either of the two browsers.
    5. for the 1st time, I can see 'tmp = 0' in the java console window.
    6. keep the browser open, browse to 'www.google.com'
    7. click 'Back' button of the browser.
    8. I notice 'tmp = 1' in the java console window.
    9. if I browse to google.com and back again, it will display 'tmp = 2'. and the number will keep on increasing if I repeat those steps.
    10. But if I press F5 to refresh the page, the log message will go back to 'tmp = 0'. and if I press 'x' inthe console window to clean up the classloader cache, I will get 'tmp = 0'. If I close the browser and open a new one, I will still get 'tmp = 0', which is what the applet should output.
    11. If I click 't' in the console window to list the thread while I am in the 'google' page, I can't see the applet thread, which means the applet should have been destroyed.
    12. No matter I try 'g' to do garbage collect, or 'f' to finalize objects, the problem still happens. the only solution is what I did in the step 10.
    Is it a bug in the classloader or the JRE itself? Why the value of the static variable won't be cleaned up along with the applet?
    ----------- HERE IS THE APPLET --------------------
    import java.applet.Applet;
    public class AA extends Applet
    private static long tmp = 0;
    public void init() {
         System.out.println("tmp value = " + tmp);
    tmp++;
    public void start() {}
    public void stop() {}
    public void destroy() {}

    Static values are stored in the class. Once a class is loaded into a classloader, it cannot be unloaded (the only thing you can do is use another classloader).
    Apparently, the classloader cache allows sharing of classloaders between applet instances. Perhaps F5 (reload) causes the classloader cache to be cleared.
    I don't see any bug. When developing applications or applets that must run in the same JVM, you should program defensively and avoid using static values which can change over time.

Maybe you are looking for