Restart ClassLoader

I have coded a program using java.security.SecureClassLoader
i encountered following problem :
-> After Stopping A ClassLoader by making the object reference = null,
and make another object, the old ClassLoader still save a Class cache and it still valid. so even i overload loadclass() and make it so it would not look for LoadedClass ( ClassLoader.getLoadedClass()). the JVM always look for Loaded Class First .... this make imposible to :
1. Restart ClassLoader that have method like URL.setURLStreamHandlerFactory(URLStreamHandlerFactory fac) because the JVM still keep the later operation. or should i restart the JVM from the program... how is it???
Class org.me.X1 ---> do URL.setURLStreamHandlerFactory(fac)
why it is still run like
1. cl = ClassLoader(A) load org.me.X1
2. do URL.setURLStreamHandlerFactory(fac)
3. cl = null
4. cl = ClassLoader(A) load org.me.X1
5. Error in doing URL.setURLStreamHandlerFactory(fac) because can only set up in different JVM ....
how can i restart the JVM in my program?????
any body have solution???? thanx
2. Restarting different ClassLoader object that have same class name but different implementation would always shows the sooner implementation
example :
Class org.me.X1 ---> Print X (in file:/f:/X1.Class)
Class org.me.X1 ---> Print Y (in file:/f:/update/X1.Class)
why it is still run like
1. cl = ClassLoader(A) load org.me.X1(from file:/f:/X1.Class)
2. Print X
3. cl = null
4. cl = ClassLoader(A) load org.me.X1(from file:/f:/update/X1.Class)
5. Print X ( it suppose to be Print Y ) even i overload loadclass() and make it so it would not look for LoadedClass.
any body have solution???? thanx
actually i have post it in Advance Langguage Topic .... but i think it would be better to post it here

yup .... thanx jschell
my mistake .... forgot to remove my own Class cache ... :)
second question how do you restart JVM in a Java Program ...
I've been trying to do this because function like URL.setURLStreamHandlerFactory(factory) can only run once in a JVM ( am i right???? ). suppose i want to reload ( an run ) a class contains with any function like above function (without any previous knowledge the class contains these kind of functions) in differrent ClassLoader ( the previous ClassLoader are made null) why am i still having an error!!!
thanx
pardon for my english

Similar Messages

  • Replacing JAR files loaded by custom ClassLoader

    Hi all,
    I am trying to create an auto-updater for a stand alone application, which can look for new versions of relevant jar files on the internet and download them. I have code which will look for newly downloaded versions and can replace the old jar file with the new one (using simple File methods). This works fine for when the application is started initially, but as the application is a server and may not manually be started for a long time, I am trying to force the server to restart and reload with the new code.
    if(newCode.exists()) {
         System.out.println("new code!");
         if(oldCode.exists()) {
              oldCode.delete();
         if(code.exists()) {
              if(! code.renameTo(oldCode)) {
                        throw new IOException("Error backing up code file");
         if(! newCode.renameTo(code)) {
              throw new IOException("Error installing new code file");
    }I have looked around the forums a bit, and have come up with using a ClassLoader based on URLClassLoader:
    class ProxyLoader extends URLClassLoader
         public ProxyLoader(String jarFile) throws MalformedURLException {
              super(new URL[] { (new File(jarFile)).toURL() });
         public Class findClass(String name) throws ClassNotFoundException {
              System.out.println("Finding: " + name);
              return super.findClass(name);
    }This seems to work OK, as all the classes from the jar file are loaded by this classloader.
    I have a method which can create an instance of the class loader, and load the server application.
    private boolean startProxy(int port) {
         try {
              pl = new ProxyLoader("proxy.jar");
              Class ptClass = pl.loadClass("proxy.POPThread");
              pt = ptClass.newInstance();
              Method ptStart = ptClass.getMethod("start", new Class[0]);
              ptStart.invoke(pt, new Object[0]);
              return true;
         } catch(Exception e) {
              return false;
    }I also have a method to shut down the server:
    private boolean stopProxy() {
         try {
              Class ptClass = pl.loadClass("proxy.POPThread");
              Method ptInterrupt = ptClass.getMethod("interrupt", new Class[0]);
              ptInterrupt.invoke(pt, new Object[0]);
              return true;
         } catch(Exception e) {
              return false;
    }These appear to be working fine, the problem I have however is when I try to rename the existing jar file (proxy.jar) in order to replace it with a new one (proxy.new), the renameTo method on the File object fails. I am guessing that is because the proxy.jar file is still in use by the JVM. I have tried setting the classloader var to null, but this doesnt seem to have any effect.
    My main question is how can I 'free' the jar file so that it can be replaced with new code? Is it possible? My only otherway of working around this is to have a variable stored in a file pointing at the 'current' code, but the jar file isn't litterally replaced.
    This is a standalone application, which will probably run in a startup script on a server, so webstart isn't really an option.
    TIA
    iklesteve

    I have found this to be true anytime I try to use the renameTo() API to rename a file with a .jar file extension (regardless of the actual file type - i.e. it could be a text file with .jar appended and it will still fail) in the case where the class making the renameTo() call is loaded from another .jar file.
    I run the same exact code after extracting from the .jar, then the rename to the other .jar file is successful. Also, if I rename the .jar file to a ".ja" file, I can successfully rename the jar file even if the code is running with the context of another .jar file.
    Is this some kind of bogus security measure within the JVM or is it a bug?

  • Weblogic managed server crash and automatic restart on Solaris SPARC platform

    hi Everyone,
    We are facing a problem a problem with Weblogic managed server where the managed server crashes and automatically restarts (via nodemanager) on Solaris SPARC platform.
    The system info is as below:
    OS:                            Oracle Solaris 11.1 SPARC
      Copyright (c) 1983, 2012, Oracle and/or its affiliates.  All rights reserved.
                               Assembled 19 September 2012
    uname:SunOS 5.11 11.1 sun4v
      (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
    load average:1.04 0.52 0.32
    CPU:total 4 v9, popc, vis1, vis2, vis3, blk_init, cbcond, sun4v, niagara_plus
    Memory: 8k page, physical 16777216k(5930008k free)
    vm_info: Java HotSpot(TM) 64-Bit Server VM (23.25-b01) for solaris-sparc JRE (1.7.0_25-b11), built on May 15 2013 04:30:17 by "" with Sun Studio 12u1
    The pstack output of analyzing the core file is as below (for the particular thread, I can attach the entire output of pstack if required):
    --- called from signal handler with signal 11 (SIGSEGV) ---
    ffffffff7ec1a7c4 memcpy%sun4v-hwcap3 (103d34720, 10a7e7710, 108ae1060, 6300, 0, ffffffff5f66394b) + 990
    ffffffff36102fa4 ZIP_GetEntry (103d34720, ffffffff636f66a4, bd, 103d347f0, a26f1c, 2f) + e4
    ffffffff36103440 Java_java_util_zip_ZipFile_getEntry (2b, ffffffff636f66a4, 103d34720, ffffffff636f6b70, 2b, 1) + a8
    ffffffff7586ac1c * *java/util/zip/ZipFile.getEntry(J[BZ)J [compiled]
    ffffffff75b61b58 * *java/util/zip/ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry; [compiled] +39 (line 606)
    ffffffff75b61b58 * *java/util/jar/JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;+3 (line 452)
    ffffffff75b61b58 * *weblogic/utils/classloaders/ZipClassFinder.getSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+36 (line 75)
    ffffffff75b6eb84 * *weblogic/utils/classloaders/JarClassFinder.getSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +6 (line 100)
    ffffffff75a40938 * *weblogic/utils/classloaders/AbstractClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +74 (line 58)
    ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
    ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
    ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
    ffffffff75806d10 * weblogic/application/utils/CompositeWebAppFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+5 (line 176)
    ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
    ffffffff75976c88 * *weblogic/utils/classloaders/MultiClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source; [compiled] +30 (line 114)
    ffffffff75806d10 * weblogic/utils/classloaders/CodeGenClassFinder.getClassSource(Ljava/lang/String;)Lweblogic/utils/classloaders/Source;+43 (line 48)
    ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.findLocalClass(Ljava/lang/String;)Ljava/lang/Class;+87 (line 571)
    ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+117 (line 515)
    ffffffff75806d10 * weblogic/utils/classloaders/ChangeAwareClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+60 (line 121)
    ffffffff75a465c8 * *java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; [compiled] +71 (line 836)
    ffffffff75db42c0 * *java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; [compiled] +4 (line 714)
    ffffffff75806d10 * weblogic/utils/classloaders/GenericClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+2 (line 358)
    ffffffff75806d10 * weblogic/utils/classloaders/ChangeAwareClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+27 (line 83)
    ffffffff7580024c * StubRoutines (1)
    ffffffff3691f44c __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (ffffffff636f7f98, 10234f000, 2, c, 2, 10) + 2f4
    ffffffff36e546c0 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_pnGSymbol_63pnGThread__v_ (ffffffff636f7f98, 1013e7748, 10234f000, 10011bf30, 100119ec0, 772d4ec08) + 1b8
    ffffffff3725bf0c __1cQSystemDictionaryTload_instance_class6FpnGSymbol_nGHandle_pnGThread__nTinstanceKlassHandle__ (105cb6100, 1013e7978, 10234f000, 102b6e500, 0, 1013e7748) + 494
    ffffffff3725a028 __1cQSystemDictionarybEresolve_instance_class_or_null6FpnGSymbol_nGHandle_3pnGThread__pnMklassOopDesc__ (105cb6100, 19dc00, 70, 10234f000, 70, 1013e7700) + ae0
    ffffffff37257800 __1cQSystemDictionaryPresolve_or_fail6FpnGSymbol_nGHandle_3bpnGThread__pnMklassOopDesc__ (105cb6100, 1013e76f0, 1013e76f8, 1, 10234f000, 1) + 290
    ffffffff368ba9dc __1cTconstantPoolOopDescNklass_at_impl6FnSconstantPoolHandle_ipnGThread__pnMklassOopDesc__ (10201b6e0, 1013e7978, 10234f000, 10201b6e0, 783cfb098, ffffffff37588000) + 264
    ffffffff36937380 __1cSInterpreterRuntimeE_new6FpnKJavaThread_pnTconstantPoolOopDesc_i_v_ (10234f000, 77548b730, 49, 10201b6e0, 1013e76e8, 10234f000) + b8
    ffffffff7581ab58 * com/jdedwards/base/logging/log4j/JdeLogger.warn(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Throwable;)V+14
    ffffffff75807bcc * com/jdedwards/system/security/proxy/SecurityServerProxyImpl.install(Ljava/util/Hashtable;)Lcom/jdedwards/system/security/proxy/SecurityServerProxyImpl;+30
    ffffffff75806d10 * com/jdedwards/system/security/proxy/SecurityServerProxyFactory.create(Ljava/util/Hashtable;)Lcom/jdedwards/system/security/SecurityServer;+1
    ffffffff75807898 * com/jdedwards/system/security/SecurityServerInstance.getInstance()Lcom/jdedwards/system/security/SecurityServer;+27
    ffffffff75806d10 * com/jdedwards/mgmt/security/UserManager.checkPassword(Ljava/lang/String;Ljava/lang/String;)Z+59
    ffffffff75806b24 * com/jdedwards/mgmt/security/UserManagerImpl.checkPassword(Ljava/lang/String;Ljava/lang/String;)Z+5
    ffffffff75806b24 * com/jdedwards/mgmt/security/SCFLoginModule.login()Z+481
    The output of the hs_err_pid1127.log file is as below:
    # A fatal error has been detected by the Java Runtime Environment:
    #  SIGSEGV (0xb) at pc=0xffffffff7ec1a544, pid=1127, tid=20
    # JRE version: 7.0_25-b11
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode solaris-sparc compressed oops)
    # Problematic frame:
    # C  [libc.so.1+0x11a544]  memcpy%sun4v-hwcap3+0x710
    # Core dump written. Default location: /slot/ems9437/appmgr/Oracle/Middleware/user_projects/domains/smc_domain/core or core.1127
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.sun.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    ---------------  T H R E A D  ---------------
    Current thread (0x000000010294d000):  JavaThread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon [_thread_in_native, id=20, stack(0xffffffff62f00000,0xffffffff63000000)]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0xffffffff5f6ce000
    I ran the suspect code which i believed was causing the issue as a standalone Java program using the same Java executable and it worked fine without any crash.
    Appreciate any inputs / discussion / feedback / thoughts on this topic.
    Good day.

    I just wanted to throw in one more thought.  I have also seen that there is a restart=true parameter.  Maybe if we set this to true, and just issue the command to shut down the server in the script, the managed server will restart on its own. 
    Would greatly appreciate any advice!

  • ClassLoader Analysis Tool(CAT) doesn't seem to work with WL10.3

    Hi,
    I have an EJB running on WL10.3. It uses the Apache Commons Pool 1.6 jar to maintain a Pool of the other component sessions. We recently came to know that WL10.3 already has commons-pool.1.3 jar in its default classpath (module directory), so 1.6 jar is not being referenced at all. So we added META-INF\weblogic-application.xml and used the following setting as per the ClassLoader Analysis Tool(CAT) suggestion. We updated the deployment with this and cleared the cache,  restarted, but still the CAT Tool's 'Analyze Conflicts' gives the same suggestion, implying that the changes didn't work. So not sure if this is the problem with the CAT Tool or with the following configuration.
    <?xml version="1.0"?>
    <weblogic-application xmlns="http://www.bea.com/ns/weblogic/90"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
           <application-param>
                <param-name>webapp.encoding.default</param-name>
                <param-value>UTF-8</param-value>
           </application-param>
           <prefer-application-packages>
                <package-name>org.apache.commons.*</package-name>
           </prefer-application-packages>
    </weblogic-application>
    Also, Is there any alternative to verify this change, I checked for commons-pool verbose option, so that we could see more details and track the class files. But I don't see any option available. Can anybody help ?
    Thanks.

    Did you build Elsa with this package from AUR: elsa-svn-arch
    The way your elsa.conf looks like indicates to me that you have not.
    Please use the package because you are also missing pam-files.

  • Problem :  Native Library already loaded in another classloader

    I created a shared library HaspKeyAPI.dll by using JNI and add path to Java class library. I need to call native functions in my servletAction class to check some information in a key. Sometimes not always, I met �java.lang.UnsatisfiedLinkError: Native Library C:\eclipse\workspace\HaspKey\SharedLib\HaspKeyAPI.dll already loaded in another classloader� problem. I have to restart tomcat server then to restart my web app.
    Does anyone know how to fix it?
    Thank you in advance!
    ////////////////////////////////////my native function class, a singleton class////////////////////////////////
    package haspkey.api;
    import java.util.Collection;
    import java.util.Vector;
    import haspkey.HardwareSecurityKey;
    Public class HaspKeyAPI {
    Public static final int KEYEXIST = 1;
    //A Singleton Class
    private static HaspKeyAPI haspKeyAPI;
    private HaspKeyAPI()
    public static HaspKeyAPI getSingletonObject()
    if ( haspKeyAPI== null)
    haspKeyAPI = new HaspKeyAPI();          
    return haspKeyAPI;
    public Object clone()
         throws CloneNotSupportedException
    throw new CloneNotSupportedException();
    /**********use native functions to call hasp C API***********/
    public native int keyPresent(int password1, int password2);
    public native int getId(int password1, int password2);
    public native void readBlock(int startMemoryLocation, int size,
    byte[] block, int password1, int password2);
    public native void writeBlock(int startMemoryLocation,int size, byte[] block, int password1,
    int password2);
    public native boolean decodeData(int size, byte[] block, int password1,
    int password2);
    public native boolean encodeData(int size, byte[] block, int password1,
    int password2);
    static {
    System.loadLibrary("HaspKeyAPI");
    private int getPrivMachineSpeed(boolean decrypt, int pass1, int pass2, String MLOCRTypeCode){
    byte[] block = new byte[8];
    int privMachineSpeed = 0;
    boolean isNumeric = true;;
    readKeyMemory(40,8,block, decrypt, pass1, pass2);
    if(block.length!=8){
    return -1;
    }else{
    String s = new String(block);
    for(int n=0; n<3; n++){
    if(s.charAt(n)<48 || s.charAt(n)>57){
    isNumeric = false;
    if(isNumeric){
    privMachineSpeed = Integer.parseInt(s.substring(0,3));
    return privMachineSpeed;
    public HardwareSecurityKey getHardwareSecurityKey(boolean decrypt, int pass1, int pass2, String AuthorizationCodes,String MLOCRTypeCode){
    HardwareSecurityKey key = new HardwareSecurityKey();
    if(keyPresent(pass1,pass2)==KEYEXIST){
    key.setPrivKeyID(getId(pass1, pass2));
    key.setPrivMachineSpeed(getPrivMachineSpeed(true, pass1,pass2, MLOCRTypeCode));
    }else{
    return null;
    /////////////////////////////// a class include some static final information to call the native function///////////////
    import com.bowebellhowell.haspkey.api.HaspKeyAPI;
    import com.bowebellhowell.winsort.vo.haspkey.HardwareSecurityKey;
    public class HaspKey{
    public static final String MLOCRTypeCode ="mmmmmmmmmmmmmmm";
    public static final String AuthorizationCodes = "bbbbbbbbbbbbbbbb";
    public static final int p1 = 0;
    public static final int p2 = 0;
    public static HardwareSecurityKey getHardwareSecurityKey(){
    HaspKeyAPI key = HaspKeyAPI.getSingletonObject();
    return key.getHardwareSecurityKey(true,p1,p2,AuthorizationCodes,MLOCRTypeCode);
    /////////////////////////////////// a servlet to call native function///////////////////////////////////
    public class LogonAction extends Action {
         public ActionForward execute(
              ActionMapping mapping,
              ActionForm form,
              HttpServletRequest request,
              HttpServletResponse response)
              throws Exception {
              int n = HaspKey.isKeyPresent();
              if(n!=1){
              if(n==2){
              message = "KeyDriverNotMatch";          
              }else if(n==3){
              message = "KeyOldModel";
              }else if(n==4){
              message = "KeyPasswordNotMatch";
              }else if(n==-1){
              message = "keyNotExist";
              request.getSession().setAttribute("message",message);
    java.lang.UnsatisfiedLinkError: Native Library C:\eclipse\workspace\HaspKey\SharedLib\HaspKeyAPI.dll already loaded in another classloader
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1551)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at haspkey.api.HaspKeyAPI.<clinit>(HaspKeyAPI.java:76)
    at util.HaspKey.isKeyPresent(HaspKey.java:35)
    at LogonAction (LogonAction .java:65)

    Hi EveryBody:
    i working in 2 servlets, these servlets import a login.jar library and login.jar call to Login.dll (a native Library)
    then. when i start second servlet i have this message
    java.lang.UnsatisfiedLinkError: Native Library dllLogin.dll already loaded in another classloader
    i read about class loader and i know about a only one load for native library but i don't know how resolve this exception because both servlets need dllLogin.dll to validate the user
    please anybody knows how or have any idea?
    Kind Regards
    Edson
    --sorry i know. my english is very bad                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Urgent! Serious problem with J2EE Classloader!

    Hi all,
    I'm having a serious problem with j2ee Classloading.
    I have "inherited" a J2EE application where all business classes (invoked by the EJB) are placed in the Application's Server classpath (Weblogic 8.1.4).
    Very bad because every time a class is changed the a.s. must be restarted.
    So I re-enginereed the package putting the business classes in a jar that is referenced by the EJB's MANIFEST file.
    This way all the classes would be loaded by the EJB classloader and no need to start/stop weblogic.
    Unfortunately it's not such !! I discovered that all business classes are loaded via REFLECTION
    Object objCommand = objClass.newInstance();
    Object[] param = new Object[1];
    param[0] = aDataContainer;
    objDataContainerReturn = (DataContainer) objMethod.invoke(objCommand,param);
    and the application server cannot find them using the standard J2EE Classloader mechanism.
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at irma.business.Dispatcher.callService(Dispatcher.java:70)
    Caused by: java.lang.NoClassDefFoundError: irma/utility/log/LogPrintStream
    at irma.business.service.LoginService.login(LoginService.java:79)
    On the other hand they're found if I put the classes on the application server classpath.
    Has anybody got advice for this ? Should I refactor the application giving up reflection ?
    Thanks a lot in advance.

    Reflection uses the classloader as well so it should work fine.
    A common cause of a NoClassDefFoundError is something in a parent classloader that refers to something only available in a child loader.
    For instance, do you have any of your application classes which are in the $CLASSPATH but reference something that is only (now) in the business.jar in your ear?
    -- Rob
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Classloader issue when deploying a war file

    Hello,
    Using Jdev 11.1.1.3 with WebLogic 10.3.2.0 when we deploy a new version of our war file we get a ClassCastException for an entity class that cannot be cast on itself ! We are using standalone JPA for persistence.
    Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: gouv.micc.intimm.pers.model.entite.Personne cannot be cast to gouv.micc.intimm.pers.model.entite.Personne
    It looks like a classloader cache issue. This happend even if we first delete the war file before we upload a new one. The only way to solve this is to restart WebLogic. Any idea?

    Seems like a WebLogic issue - try asking on that forum:
    http://forums.oracle.com/forums/category.jspa?categoryID=193

  • AuditProvider classloading issues

    Hi all,
    We are implementing an AuditProvider for WLS that communicates via SOAP with a custom application that provides secure audit storage.
    We have followed the following example to implement the base of the provider:
    https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=S189
    After that, we used the clientgen Ant task to generate the SOAP access code, and packaged everything in an MJF file using MBeanMaker.
    We copy the MJF to WL_HOME/server/lib/mbeantypes, configure the MBean using the admin console.
    However, when restarting stuff, during our AuditProvider initialization we get:
    javax.xml.rpc.ServiceException: weblogic client internal deployment descriptor com/kroopier/bea/sap/soap/BEAAuditLogService_internaldd.xml not found. Please make sure all clientgen generated files are in the classpath.
            at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:397)
            at weblogic.wsee.jaxrpc.ServiceImpl.loadInternalDD(ServiceImpl.java:346)
            at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:110)
            at com.kroopier.bea.sap.soap.BEAAuditLogService_Impl.<init>(BEAAuditLogService_Impl.java:21)
            at com.kroopier.bea.sap.soap.BEAAuditLogService_Impl.<init>(BEAAuditLogService_Impl.java:17)
            Truncated. see log file for complete stacktraceUpon further research, it seems that the SOAP code generated by clientGen uses Thread.currentThread().getContextClassLoader() to load the support files (some xml files it generates). We suspect that this class loader is not the class loader being used to load the mjf jar, so the mjf jar contents (which include the file that cannot be found) are not used.
    Is there a simple way to solve this?
    Kind regards,
    Alex

    Thank you.
    As we are creating an AuditProvider for distribution, we'd rather have it be a single jar file that goes into mbeantypes than having to put our jar into system classpath (i.e. I'd think this would make our provider less desirable).
    My current line of reasoning is as follows:
    1. We are trying to invoke code from our AuditProvider that uses Thread.currentThread().getContextClassLoader() for reflection purposes
    2. Thread.currentThread().getContextClassLoader() does not include the AuditProvider jar deployed in mbeantypes, but the one in this.getClass().getClassLoader() does (I suspect that the this.getClass().getClassLoader() is the one that the class uses for loading the classes it needs).
    3. Why would someone use Thread.currentThread().getContextClassLoader() to load classes? Clearly, if you are loading the rest of the classes your class needs with this.getClass().getClassLoader(), use that one, as you don't know what your thread's context class loader is.
    Therefore, our hacky solution is to do this:
    ClassLoader threadClassLoader = Thread.currentThread().getContextClassLoader();
    try {
      Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
      // bad code that uses the thread's context class loader
    finally {
      Thread.currentThread().setContextClassLoader(threadClassLoader);
    }Long term, I'd like to advise people (esp. the guys who wrote weblogic.wsee.tools.anttasks.ClientGenTask and Hessian- which is the code that's given us trouble so far) to use the current class' classloader for reflection stuff instead of the thread's.
    Of course, I have my doubts that this hack won't cause further trouble, so I'd appreciate further feedback on this issue.
    Alex

  • Ejb deployment - classloader question

    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    thanks
    Anamitra

    Inline.
    Anamitra wrote:
    Hi Guys
    I have a very basic question regarding EJB deployment in Weblogic 6.1 sp2.
    Is it possble to create an EAR file such that -
    1>it contains a WAR file [of servlets/jsps/client classes] - A
    2>a jar file containing our core server classes[not EJBs] - B
    3>a jar file containing EJBs - C
    here A and C are definitely getting loaded by different class loaders - I want
    the classloader for B to be parent of the classloaders for A and C - so that both
    A and C can see B. - is this possible by some EAR/Weblogic specific way.Made possible by placing B in the ear at the root level and referring to B with the
    Class-Path manifest directive in the ejb jar file for C. This will put B in the ejb
    classloader's classpath making it visible to C and to A since the classloader for C
    is the parent of the classloader for A. Which, is the recommended way.
    >
    OR
    the best solution is to place the B in the main classpath and deploy the C and
    A in an EAR?
    This works, but the classfiles in B are now static for the uptime of the server. If
    you want to make changes in B, you must restart the server. If you configure it the
    way described above, you can reload the B classes by redeploying the application ear.
    >
    thanks
    AnamitraHere is the link with all of the info:
    http://edocs.bea.com/wls/docs61/programming/packaging.html#1029830
    Bill

  • Libdb_java46.dll already loaded in another classloader

    I'm trying to use DB XML in a servlet with Tomcat 5.5. In the init() method, I open a container and in destroy(), I do the cleanup.
    The problem is that if I recompile my code and let Tomcat reload the webapp, I get the following error:
    "java.lang.UnsatisfiedLinkError: Native Library libdb_java46.dll already loaded in another classloader"
    I'm using Java 1.5.
    Is there a way to get around this error? it is very annoying in development mode to stop and restart Tomcat each time I make a modification.
    Thanks.

    hi
    try with putting db.jar and dblxml.jar into
    $CATALINA_HOME/common/lib
    more to read about classloading at following url
    http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
    yurss rober

  • Libsapjco3.so - native library already loaded in another classloader

    During the work with sap-connector i get the messages "/usr/lib64/libsapjco3.so - native library already loaded in another classloader"".
    How can I solve it? Because after that I must restart Weblogic to make sap-connector work correctly again.

    you need to set the env varibale LD_LIBRARY_PATH, try to find out where you can set it in weblogic server .
    Thanks
    Suren

  • Clear classloader when exit applet, but not browser

    Hi there,
    I've got some problems with the classloader.
    when i start my applet with the language de, it will correctly name the buttons etc. in german.
    in my site it is possible to change the language. after clicking on another lanuage, my applet
    restarts with the correct parameters (language=en), but the buttons and so on are still named in
    german.
    i figured out, that after clearing the classloader cache, the language is the correct one.
    how can i clear the classloader cache when i leave the applet, but not the browser?
    thanks in advance!

    Hi there,
    I've got some problems with the classloader.
    when i start my applet with the language de, it will correctly name the buttons etc. in german.
    in my site it is possible to change the language. after clicking on another lanuage, my applet
    restarts with the correct parameters (language=en), but the buttons and so on are still named in
    german.
    i figured out, that after clearing the classloader cache, the language is the correct one.
    how can i clear the classloader cache when i leave the applet, but not the browser?
    thanks in advance!

  • J2EE engine restart with java.lang.OutOfMemoryError  Java heap space

    Hi
    I hope someone can help me, I have an error on my J2EE engine.
    My portal restarts only when I click on User - Administration - Identity Management.
    Here is the log error.
    Exception id: [000000000000005B0000001C0000098800045ACD637E87AB]#
    #1.5^H#0000000000000059000000690000098800045ACD6EF06673#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
    Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
    ]_13##0#0#Error#1#/System/Server/Critical#Plain###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666#
    #1.5^H#00000000000000590000006A0000098800045ACD6EF06833#1225738282886#com.sap.engine.frame.Environment##com.sap.engine.frame.
    Environment#J2EE_GUEST#0##host_SID_4130050#J2EE_ADMIN#40cf7230a9d811dda9f9000000000000#SAPEngine_Application_Thread[impl:3
    ]_13##0#0#Fatal#1#/System#Java###FATAL: Caught OutOfMemoryError! Node will exit with exit code 666
    [EXCEPTION]
    #1#java.lang.OutOfMemoryError: Java heap space
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
            at com.sap.engine.services.deploy.server.ApplicationLoader.defineClassWithInterception(ApplicationLoader.java:168)
            at com.sap.engine.services.deploy.server.ApplicationLoader.loadLocalClass(ApplicationLoader.java:140)
            at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)
            at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
            at com.sap.security.core.wd.assignusermapping.wdp.InternalAssignUserMappingComp.<init>(InternalAssignUserMappingComp.
    java:173)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
            at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
            at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
            at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
            at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
            at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:728)
            at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getImplementingInterfaceViewInfo(ComponentUsage.java:403)
            at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.getViewManagerFor(ClientComponent.java:305)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:628)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:694)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
            at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
            at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
            at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    Thanks for your help

    pretty obvious to me "java.lang.OutOfMemoryError: Java heap space"
    Read,
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/jsts/(Kernel)OOM
    or
    java.lang.OutOfMemoryError: Java heap space
    those links should give you a fairly good idea on how to solve the issue.
    Regards
    Juan

  • Error restarting JDeveloper when set to install "pcbpel_bundle.zip" update

    Hi all,
    after following all steps to install TP3 in a fresh machine (W2K3+XE), I set jdev to load and install pcbpel_bundle.zip upon restart.
    However, when I do so and restart jdev I get the following exception:
    C:\jdevtp3\jdev\bin>jdev.exe
    Installing updates...
    IDE boot startup failed.
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:692)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:111)
    at oracle.ide.boot.Launcher.launch(Launcher.java:65)
    at oracle.ide.boot.Launcher.main(Launcher.java:54)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 61659
    at oracle.ide.boot.JarDirs.getDirsImpl(JarDirs.java:113)
    at oracle.ide.boot.JarDirs.<init>(JarDirs.java:63)
    at oracle.ide.boot.SharedJarByPackage.<init>(SharedJarByPackage.java:19)
    at oracle.ide.boot.IdeSharedCodeSourceFactory.createCodeSource(IdeSharedCodeSourceFactory.java:30)
    at oracle.classloader.SharedCodeSourceFactory.create(SharedCodeSourceFactory.java:43)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:316)
    at oracle.classloader.SharedCodeSourceSet.subscribe(SharedCodeSourceSet.java:174)
    at oracle.classloader.PolicyClassLoader.addCodeSource(PolicyClassLoader.java:883)
    at oracle.ide.boot.PCLMain.createExtensionManagerLoader(PCLMain.java:101)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:57)
    ... 17 more
    Any idea what's going on?
    Thanks in advance

    Yes, Heidi's right.
    She pointed me out that I had JAVA_HOME env var set to an unexisting directory or to a directory with blank spaces.
    If you're working in Windows, do NOT set JAVA_HOME env var at all. If you do so and it contains an invalid directory, JDev tries to make use of it and might not work.
    Thanks a lot to Heidi for her help!

  • Error While Restarting the Application Servers

    Hi,
    While Restarting OIM I am getting error as follows .Did any body of you have faced this error before .Kindly give me your suggestion.
    Regards,
    Koti.
    ERROR,25 Aug 2009 17:05:01,162,[XELLERATE.AUDITOR],Unable to create auditor. com.thortech.xl.audit.groupaudit.GroupAuditor
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.thortech.xl.audit.groupaudit.GroupAuditor
    Dependent class: com.thortech.xl.audit.engine.AuditEngine
    Loader: Xellerate.root:0.0.0
    Code-Source: /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlAuditor.jar
    Configuration: manifest of /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar
    This load was initiated at Xellerate.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26099296]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26099296]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26099296]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@26099296]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at java.lang.Class.forName0 (Native method) [unknown, by unknown]
    at java.lang.Class.forName (Class.java:164) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    at com.thortech.xl.audit.engine.AuditEngine.createAuditor (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlAuditor.jar (from manifest of /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar), by Xellerate.root:0.0.0]
    at com.thortech.xl.audit.engine.AuditEngine.initialize (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlAuditor.jar (from manifest of /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar), by Xellerate.root:0.0.0]
    at com.thortech.xl.audit.engine.AuditEngine.getAuditEngine (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlAuditor.jar (from manifest of /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar), by Xellerate.root:0.0.0]
    at com.thortech.xl.ejb.beansimpl.tcUnauthenticatedOperationsBean.login (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar (from <ejb> in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate), by Xellerate.root:0.0.0]
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession.login (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlDataObjectBeans.jar (from <ejb> in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate), by Xellerate.root:0.0.0]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknown]
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke (EJBJoinPointImpl.java:35) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed (InvocationContextImpl.java:119) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke (DMSInterceptor.java:52) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed (InvocationContextImpl.java:119) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke (TxRequiredInterceptor.java:50) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed (InvocationContextImpl.java:119) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke (RunAsInterceptor.java:31) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed (InvocationContextImpl.java:119) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke (DMSInterceptor.java:52) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed (InvocationContextImpl.java:119) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.InvocationContextPool.invoke (InvocationContextPool.java:55) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod (StatelessSessionEJBObject.java:87) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at tcUnauthenticatedOperations_RemoteProxy_6ocop18.login (Unknown source file) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlAPI.jar (from manifest of /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/oim/applications/Xellerate/xlBackOfficeBeans.jar), by com.evermind.server.ejb.proxy.ProxyClassLoader@24193012]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown, by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:585) [unknown, by unknown]
    at com.evermind.server.rmi.RmiMethodCall.run (RmiMethodCall.java:53) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in /u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/oc4j.jar), by oc4j:10.1.3]
    at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]
    ERROR,25 Aug 2009 17:05:01,179,[XELLERATE.AUDITOR],Class/Method: AuditEngine/initialize encounter some problems: {1}
    java.lang.NullPointerException
    at com.thortech.xl.audit.engine.AuditEngine.initialize(Unknown Source)
    at com.thortech.xl.audit.engine.AuditEngine.getAuditEngine(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcUnauthenticatedOperationsBean.login(Unknown Source)
    at com.thortech.xl.ejb.beans.tcUnauthenticatedOperationsSession.login(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.RunAsInterceptor.invoke(RunAsInterceptor.java:31)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at tcUnauthenticatedOperations_RemoteProxy_6ocop18.login(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ***********************************************************************

    Hi,
    Are you deployed new rpd file in your serve. please conform?
    This error occured several reasons.
    Tell me first obiee l0g or 11g.
    If 10g Please follow the below steps.
    1. Please check the rpd properly copied or not.\
    2. Exiting rpd having any space or hyponym or dot. Please recheck?
    3. Please check how many instance running your server.
    use this command in your server.
    ps -ef | grep nqsserver.
    Still running more than one please kill the all the session and restart newly.
    I am not sure this is what your looking so far.
    Award points it is useful.
    Thanks,
    Satya

Maybe you are looking for

  • Re: Please re-enter 10 digit number, message HH2

    Branched from Please re-enter 10 digit number, message HH2 I drive truck and need to make calls constantly and i have a iphone 5c and i have the same (removed) problem cant call out in a extended service and get the same message but people can call m

  • Sound is out of sync in iMovie and video freezes at a part but audio continues. How do i fix this???

    Can someone please help me. I have even tried the youtube videos and can't seem to get the sound to sync up on my videos in Imovie. Also, one part just stalls and stays on the same frame but the audio continues on fine. I NEED HELP!!! This is for sch

  • Deleting Preview Files

    Sometimes when things seem too easy they make me wary:  I need to free up some space on my C: Drive.  Adobe Premier created a folder on my Desktop called Adobe Premier Pro Preview Files; from older projects.  Can I simply delete these files to free u

  • Getting a AccessControlException when no violation has occured

    i'm getting this exception: java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)      at java.security.AccessControlContext.checkPermission(Unknown Source)      at java.security.AccessController.checkPermission(Unk

  • What do "managed device" and "management console" look like?

    I read this Novell Documentation from line to line but still have no idea what's the basic configurations of the following two scenarios: Section 2.8.1, Initiating a Session from the Management Console Section 2.8.2, Initiating a Session from the Man