BEA WL9.2 NoClassDefFoundError when instantiating class in EAR library

I'm having a problem in BEA Weblogic 9.2 with a NoClassDefFound error that has me stumped.
To test the problem, I created a very simple web service project and the associated EAR project which is then deployed to a simple domain. Within the web service project I defined an Interface, and then a class that implements that interface. I have a single web method which when called uses the Class.forName() method to instantiate an instance of the implementing class and then run the sayHello method of the class. This all works great, as it should.
Next I created a new java project which contains another class which implements the interface defined in the webservice project. I built this class into a jar file, and added the jar file into the EAR project library directory so that it shows up as a referenced library to the web service project. In the original web method I added code to again use the Class.forName() method to this time get an instance of the implementing class defined in the jar file. When I run the method this time, a java.lang.NoClassDefFoundError is thrown trying to instantiate the new class. I thought that because the jar file with the class is included in the project EAR, that the web service would see that class in it's classpath, but clearly that's not happening. I have a feeling I'm probably forgetting something real simple, but I can't figure out what it could be right now.
Any help solving this problem would be greatly appreciated. Thanks in advance.

Thanks for the suggestions, unfortunately I'm still struggling with the problem.
First, let me clarify a couple of things brought up by the other posters. The jar file containing my implementation of an interface is being placed in the EAR's APP-INF/lib directory. I'm developing the test program in Weblogic Workshop 9.2. Workshop is built around an earlier version of Eclipse so in most ways I am using Eclipse as a development tool, but only through the official Weblogic Portal 9.2 release that includes Workshop. I am not using the 'Oracle Enterprise Pack for Eclipse'. What I am trying to do gets a bit confusing to explain, but in reality is a very simple thing that I find hard to believe is causing me problems. The reason I posted this problem in the Weblogic Server forum is that what I'm trying to do works perfectly if I'm just using multiple java projects importing implementing classes from other jars. The problem only occurs when I move the problem into a web service project.
As I've done some more experimenting I've found some more interesting behavior. I created a new Interface in the library project, as well as an implementation of this new interface. Again I copied this library into the EAR's APP-INF/lib directory, and then in the webservice project created another class that implements the new interface. Back in my web-method, I added code to try and instantiate instances of each of the new implementing classes. Works perfectly. The problem only occurs when the Interface is defined in the webservice and the implementing class is defined in the library. All other instances seem to work fine. The error thrown is a NoClassDefFoundError, and the class that it says it can't find is the Interface class. Again, the Interface class is defined in the webservice src, and the application has no trouble finding that class if I try and instantiate an implementing class that is also defined in the webservice src. It's only when I try and instantiate a class defined in a referenced library that the error occurs.
This should be a very easy problem to re-create, and I have a test project that I can provide if anyone's willing to take a look. Again, any help or suggestions would be greatly appreciated.

Similar Messages

  • Java.lang.NoClassDefFoundError when compile class in Weblogic Linux Env.

    Hi,
    I'm trying jay article ( http://jaysensharma.wordpress.com/2009/08/17/mdb3-0-sample-for-weblogic-application-server/ ) for send message
    to JMS, it works great in windows but in Linux is failed.
    I’m facing the issue when compile QueueSend class linux environment,
    but windows it works great.
    in windows I compile the class like this :
    C:\bea\user_projects\domains\MyDomain\bin>setDomainEnv.cmd
    C:\bea\user_projects\domains\MyDomain>java QueueSend t3://localhost:7001
    JMS Message Sent: Test Message Body with counter = 0
    JMS Message Sent: Test Message Body with counter = 1
    in Linux :
    after ./setDomainEnv,
    $bea\…\MYDOMAIN\bin >java QueueSend t3://localhost:7001
    Exception in thread “main” java.lang.NoClassDefFoundError: javax/jms/Message
    Caused by: java.lang.ClassNotFoundException: javax.jms.Message
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    I think it cannot find the java_home or classpath properly, how to solve this issue?
    Really thanks in advance.
    Edited by: muhkah on 09-Apr-2010 19:58

    Hi Muhkah,
    Please add the *"<BEA_HOME>\modules\javax.jms_1.1.1.jar"* file also in the Client ClassPath.
    But the Best thing i will suggest it to Just add the "wlfullClient.jar" file in the client ClassPath...this is a very useful Jar file which solves many many issues. There is a very simple way to create this JAR file: http://jaysensharma.wordpress.com/2010/02/03/building-wlfullclient-jar/
    <BR>
    The advantage of using *"wlfullclient.jar"* is Just Make it once and then reuse this single Jar in any client Application which is going to interact with WebLogic. This Powerful Jar contains almost all the Classes which is needed by a Client.
    Now you can run your Client Program like this :
    java    -classpath    /app/bea10.3/wl_server/server/lib/wlfullclient.jar    QueueSend t3://localhost:7001
    Thanks
    Jay SenSharma

  • Weblogic not finding javax.naming classes when instantiating bean

    Hello,
              I am developing a JSP which contains a JavaBean.
              This bean is a wrapper for a session EJB, the getProperty() methods in
              the bean call methods on the EJB's remote interface.
              I have tested this bean as a stand alone application by adding a
              main(String[] args) method to it and it works.
              However, when adding the bean to the JSP, the JSP does not show in the
              browser, I get a n internal server error 500 instead.
              It seems that Weblogic is not finding the javax.naming.NamingException
              class when instantiating the bean.
              When looking at the weblogic log, I see the following stack trace:
              Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
              with Exception
              java.lang.NoClassDefFoundError: javax/naming/NamingException
              at java.lang.ClassLoader.resolveClass0(Native Method)
              at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
              at
              weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
              Compiled Code)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
              Compiled Code)
              at
              weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
              Compiled Code)
              at java.beans.Beans.instantiate(Beans.java:194)
              at java.beans.Beans.instantiate(Beans.java:55)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
              Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
              Code)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
              Compiled Code)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
              Code)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
              at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
              at
              weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
              at
              weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
              at
              weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
              at
              weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Any idea on how to fix this?
              Thanks for any help,
              David
              

              yes, weblogicaux.jar is definitely in the weblogic.class.path. i've even tried starting the server from the command line, declaring the classes there. my "trade.xml" document has the URI set as "http://localhost:7001/BizTalkServer". when i enter this on the "BizClient.jsp" form, i get the error discussed below. however, if i enter "http://localhost:7001", even though this is not the explicit location of the BizTalk server, the server returns:
              Thank you! Your trade has been recieved. A BizTalk document has been sent to http://localhost:7001/ with the following information: etc...............
              So there appears to be something wrong with the "/BizTalkServer" setup on my machine. Any ideas?
              Kumar Allamraju <[email protected]> wrote:
              >Make sure weblogicaux.jar is in your weblogic.class.path
              >
              >i.e -Dweblogic.class.path=$WL_HOME/lib/weblogicaux.jar:$WL_HOME/classes etc etc...
              >
              >--
              >Kumar
              >
              >Mike Bachers wrote:
              >
              >> I'm currently struggling with a similar problem, although as a newcomer to WL I'm having some trouble figuring it out. I'm trying to run the BizTalk server example (http://www.weblogic.com/docs51/examples/xml/biztalk/index.html) under Windows 2000 and JDK1.2.2. I'm able to proceed without problems until I submit the form on the "BizClient.jsp" page. At this point, I receive this error:
              >> ------------------------------------------------
              >> There was a problem connecting to the BizTalk server. Exception caught: java.io.FileNotFoundException: Response: '500' for url: 'http://localhost:7001/BizTalkServer'
              >> ------------------------------------------------
              >>
              >> At the same time, the WL console spits this out:
              >> ------------------------------------------------
              >> java.lang.NoClassDefFoundError: javax/naming/NamingException
              >> ....
              >> ------------------------------------------------
              >>
              >> I know this class is in the weblogicaux.jar, and it's included in my classpath. I think David's fix (see below) is getting at my problem, too, but I'm not sure. Anyone relate?
              >>
              >> "David R. Heffelfinger" <[email protected]> wrote:
              >> >Figured it out. The problem was that the beans were in a directory
              >> >in the JAVA_CLASSPATH in weblogic.properties. Moved the directory to
              >> >WEBLOGIC_CLASSPATH and the problem went away.
              >> >
              >> >David
              >> >
              >> >"David R. Heffelfinger" wrote:
              >> >
              >> >> Hello,
              >> >>
              >> >> I am developing a JSP which contains a JavaBean.
              >> >> This bean is a wrapper for a session EJB, the getProperty() methods in
              >> >> the bean call methods on the EJB's remote interface.
              >> >>
              >> >> I have tested this bean as a stand alone application by adding a
              >> >> main(String[] args) method to it and it works.
              >> >>
              >> >> However, when adding the bean to the JSP, the JSP does not show in the
              >> >> browser, I get a n internal server error 500 instead.
              >> >> It seems that Weblogic is not finding the javax.naming.NamingException
              >> >> class when instantiating the bean.
              >> >>
              >> >> When looking at the weblogic log, I see the following stack trace:
              >> >>
              >> >> Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
              >> >> with Exception
              >> >>
              >> >> java.lang.NoClassDefFoundError: javax/naming/NamingException
              >> >>
              >> >> at java.lang.ClassLoader.resolveClass0(Native Method)
              >> >>
              >> >> at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
              >> >>
              >> >> at
              >> >> weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
              >> >> Compiled Code)
              >> >>
              >> >> at
              >> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
              >> >> Compiled Code)
              >> >>
              >> >> at
              >> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
              >> >> Compiled Code)
              >> >>
              >> >> at java.beans.Beans.instantiate(Beans.java:194)
              >> >>
              >> >> at java.beans.Beans.instantiate(Beans.java:55)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
              >> >> Compiled Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
              >> >> Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
              >> >>
              >> >> at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
              >> >>
              >> >> at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
              >> >> Compiled Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
              >> >> Code)
              >> >>
              >> >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
              >> >>
              >> >> at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
              >> >>
              >> >> at
              >> >> weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
              >> >>
              >> >> at
              >> >> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
              >> >>
              >> >> at
              >> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
              >> >>
              >> >> at
              >> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
              >> >>
              >> >> at
              >> >> weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
              >> >>
              >> >> at
              >> >> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
              >> >>
              >> >> at
              >> >> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              >> >>
              >> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              >> >>
              >> >> Any idea on how to fix this?
              >> >>
              >> >> Thanks for any help,
              >> >> David
              >> >
              >
              

  • NoClassDefFoundError when trying to return a custom Object

    Hi,
    I'm trying to get some system memory info from a Windows machine using Java. I've written the C code and Java code and it all compiles fine. I can also use most of the methods in the two files. I have a problem with one method though. Its a method that is returning an object type that I created that mirrors a windows structure. Below is the code.
    // Java Object to store the data
    package agent.win32;
    public class MemoryInfo{
      int dwLength;
      int dwMemoryLoad;
      int dwTotalPhys;
      int dwAvailPhys;
      int dwTotalPageFile;
      int dwAvailPageFile;
      int dwTotalVirtual;
      int dwAvailVirtual;
      public int get_dwLength() { return dwLength; }
      public int get_dwMemoryLoad() { return dwMemoryLoad; }
      public int get_dwTotalPhys() { return dwTotalPhys; }
      public int get_dwAvailPhys() { return dwAvailPhys; }
      public int get_dwTotalPageFile() { return dwTotalPageFile; }
      public int get_dwAvailPageFile() { return dwAvailPageFile; }
      public int get_dwTotalVirtual() { return dwTotalVirtual; }
      public int get_dwAvailVirtual() { return dwAvailVirtual; }
    // Java Class that uses JNI
    package agent.win32;
    public class NIMSNT {
      //Constructor
      public NIMSNT(){};
      static{
        try{
          System.loadLibrary("NIMSNT");
        catch (java.lang.UnsatisfiedLinkError e) {
          System.out.println (e);
       * check psapi.dll and psapi functions
       * return true if NT process can be enumerate
      public static native boolean Initialize();
       * Description:The EnumProcesses function retrieves the process identifier
       * for each process object in the system
       * return value:the list of process identifiers
       * call psapi function EnumProcesses
      public static native int[] EnumProcesses();
       * Description:The OpenProcess function returns a handle to an existing process object.
       * return value:If the function succeeds, the return value is an open handle to the specified process
       * call kernel32 function OpenProcess
      public static native int OpenProcess(int Pid);
       * Description:The EnumProcessModules function retrieves a handle for each module in the specified process
       * return value:the list of module handles
       * call psapi function EnumProcessModules
      public static native int[] EnumProcessModules(int hProcess);
       * Description:The GetModuleFileNameEx function retrieves the fully qualified path for the specified module
       * return value:the fully qualified path for the specified module
       * call psapi function GetModuleFileNameEx
      public static native String GetModuleFileName(int hProcess,int hModule);
       * Description:The GetModuleBaseName function retrieves the base name of the specified module
       * return value:the base name of the specified module
       * call psapi function GetModuleBaseName
      public static native String GetModuleBaseName(int hProcess,int hModule);
       * Description:function closes an open object handle
       * return value:true if succesfuly
       * call kernel32 function CloseHandle
      public static native boolean CloseHandle(int handle);
       * Description:function gets system memory
       * return value:String
      public static native MemoryInfo GetSystemMemoryInfo();
    // C Structure (defined in windows.h)
    typedef struct _MEMORYSTATUS {
      DWORD dwLength;
      DWORD dwMemoryLoad;
      SIZE_T dwTotalPhys;
      SIZE_T dwAvailPhys;
      SIZE_T dwTotalPageFile;
      SIZE_T dwAvailPageFile;
      SIZE_T dwTotalVirtual;
      SIZE_T dwAvailVirtual;
    } MEMORYSTATUS, *LPMEMORYSTATUS;
    // C code
    #include <windows.h>
    #include <string.h>
    #include "agent_win32_NIMSNT.h"
    #define MaxProcessNumber 10000
    /** Type Definitions                                  **/
    typedef BOOL (WINAPI *ENUMPROCESSES)(
         DWORD * lpidProcess, 
           DWORD cb,            
           DWORD * cbNeeded     
    typedef BOOL (WINAPI *ENUMPROCESSMODULES)(
         HANDLE hProcess,     
         HMODULE * lphModule, 
         DWORD cb,            
         LPDWORD lpcbNeeded   
    typedef DWORD (WINAPI *GETMODULEFILENAMEEXA)(
         HANDLE hProcess,          
         HMODULE hModule,          
         LPTSTR lpstrFileName,     
         DWORD nSize               
    typedef DWORD (WINAPI *GETMODULEBASENAME)(
         HANDLE hProcess,          
         HMODULE hModule,          
         LPTSTR lpstrFileName,     
         DWORD nSize               
    typedef struct _PROCESS_MEMORY_COUNTERS {
        DWORD cb;
        DWORD PageFaultCount;
        DWORD PeakWorkingSetSize;
        DWORD WorkingSetSize;
        DWORD QuotaPeakPagedPoolUsage;
        DWORD QuotaPagedPoolUsage;
        DWORD QuotaPeakNonPagedPoolUsage;
        DWORD QuotaNonPagedPoolUsage;
        DWORD PagefileUsage;
        DWORD PeakPagefileUsage;
    } PROCESS_MEMORY_COUNTERS, *PPROCESS_MEMORY_COUNTERS;
    typedef BOOL (WINAPI *GETPROCESSMEMORYINFO)(
         HANDLE hProcess,
         PPROCESS_MEMORY_COUNTERS ppsmenCounters,
         DWORD cb
    /** Global Variables                                  **/
    ENUMPROCESSES EnumProcesses;
    ENUMPROCESSMODULES EnumProcessModules;
    GETMODULEFILENAMEEXA GetModuleFileNameExA;
    GETMODULEBASENAME GetModuleBaseName;
    GETPROCESSMEMORYINFO GetProcessMemoryInfo;
    /** DLL Entry                                         **/
    BOOL APIENTRY DllMain(HANDLE hInst, DWORD ul_reason_being_called, LPVOID lpReserved){    
         return TRUE;
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    Initialize
    * Signature: ()Z
    JNIEXPORT jboolean JNICALL Java_agent_win32_NIMSNT_Initialize(JNIEnv * env,jclass clazz){
         HANDLE hpsapi=LoadLibrary("PSAPI.DLL");
         if (hpsapi==NULL) return FALSE;
         EnumProcesses=(ENUMPROCESSES)GetProcAddress((HINSTANCE)hpsapi,"EnumProcesses");
         GetModuleFileNameExA = (GETMODULEFILENAMEEXA)GetProcAddress((HINSTANCE)hpsapi, "GetModuleFileNameExA");
         GetModuleBaseName = (GETMODULEBASENAME)GetProcAddress((HINSTANCE)hpsapi, "GetModuleBaseNameA");
         EnumProcessModules = (ENUMPROCESSMODULES)GetProcAddress((HINSTANCE)hpsapi, "EnumProcessModules");
         GetProcessMemoryInfo = (GETPROCESSMEMORYINFO)GetProcAddress((HINSTANCE)hpsapi, "GetProcessMemoryInfo");
         if (
              NULL == EnumProcesses          ||
              NULL == GetModuleFileName     ||
              NULL == GetModuleBaseName     ||
              NULL == EnumProcessModules  )
            return FALSE;
         return TRUE;   
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    EnumProcesses
    * Signature: ()[I
    JNIEXPORT jintArray JNICALL Java_agent_win32_NIMSNT_EnumProcesses(JNIEnv * env, jclass clazz){
         DWORD aPids[MaxProcessNumber];
         DWORD cGot;
         jintArray Pids=0;
         if(EnumProcesses(aPids,sizeof(aPids),&cGot)){
              cGot /= sizeof(aPids[0]);
                 Pids= (*env)->NewIntArray(env,cGot);
              (*env)->SetIntArrayRegion(env,Pids,0,cGot,(jint*) aPids);
         return Pids;
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    OpenProcess
    * Signature: (IZI)I
    JNIEXPORT jint JNICALL Java_agent_win32_NIMSNT_OpenProcess (JNIEnv * env, jclass clazz,jint Pid){
         return (jint) OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ,FALSE,Pid);
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    EnumProcessModules
    * Signature: (I[I)[I
    JNIEXPORT jintArray JNICALL Java_agent_win32_NIMSNT_EnumProcessModules (JNIEnv * env, jclass clazz, jint hProcess){
         HMODULE hModule[MaxProcessNumber];
         jintArray jModule=0;
         DWORD cGot;    
         if (EnumProcessModules((HANDLE)hProcess,hModule,sizeof(hModule),&cGot)){
              cGot/= sizeof(hModule[0]);
              jModule= (*env)->NewIntArray(env,cGot);
              (*env)->SetIntArrayRegion(env,jModule,0,cGot,(jint*)hModule);
         return jModule;
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    GetModuleFileName
    * Signature: (II)Ljava/lang/String;
    JNIEXPORT jstring JNICALL Java_agent_win32_NIMSNT_GetModuleFileName(JNIEnv * env, jclass clazz, jint hProcess, jint hModule){
         jstring jName=0;
         char FileName[MAX_PATH];
         if(GetModuleFileNameExA((HANDLE)hProcess,(HMODULE)hModule,FileName,sizeof(FileName))!=0){
              jName=(*env)->NewStringUTF(env,FileName);
         return jName;
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    GetModuleBaseName
    * Signature: (II)Ljava/lang/String;
    JNIEXPORT jstring JNICALL Java_agent_win32_NIMSNT_GetModuleBaseName(JNIEnv * env, jclass clazz, jint hProcess, jint hModule){
         jstring jName=0;
         char FileName[MAX_PATH];
         if(GetModuleBaseName((HANDLE)hProcess,(HMODULE)hModule,FileName,sizeof(FileName))!=0){
              jName=(*env)->NewStringUTF(env,FileName);
         return jName;
    * Class:     nims4_agent_win32_NIMSNT
    * Method:    CloseHandle
    * Signature: (I)Z
    JNIEXPORT jboolean JNICALL Java_agent_win32_NIMSNT_CloseHandle(JNIEnv * env, jclass clazz, jint handle)
         return CloseHandle((HANDLE) handle);
    * Class:     nims_agent_win32_NIMSNT
    * Method:    GetSystemMemoryInfo
    * Signature: (I)Lagent/win32/MemoryInfo;
    JNIEXPORT jobject JNICALL Java_agent_win32_NIMSNT_GetSystemMemoryInfo(JNIEnv * env, jclass clazz){
         jfieldID jfield;
         jobject jobj=0;
         MEMORYSTATUS stat;
         stat.dwLength = sizeof(stat);
         GlobalMemoryStatus(&stat);
         clazz=(*env)->FindClass(env,"agent.win32.NIMSMemoryInfo");
         if (clazz==0) return 0;
         jobj = (*env)->AllocObject (env,clazz);
         //set NIMSMemoryInfo object field
         // dwLength
         jfield=(*env)->GetFieldID(env,clazz,"dwLength","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwLength);
         // dwMemoryLoad
         jfield=(*env)->GetFieldID(env,clazz,"dwMemoryLoad","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwMemoryLoad);
         // dwTotalPhys
         jfield=(*env)->GetFieldID(env,clazz,"dwTotalPhys","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwTotalPhys);
         // dwAvailPhys
         jfield=(*env)->GetFieldID(env,clazz,"dwAvailPhys","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwAvailPhys);
         // dwTotalPageFile
         jfield=(*env)->GetFieldID(env,clazz,"dwTotalPageFile","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwTotalPageFile);
         // dwAvailPageFile
         jfield=(*env)->GetFieldID(env,clazz,"dwAvailPageFile","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwAvailPageFile);
         // dwTotalVirtual
         jfield=(*env)->GetFieldID(env,clazz,"dwTotalVirtual","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwTotalVirtual);
         // dwAvailVirtual
         jfield=(*env)->GetFieldID(env,clazz,"dwAvailVirtual","I");
         (*env)->SetIntField (env,jobj, jfield,stat.dwAvailVirtual);
         return jobj;
    };I can use all of the methods in the Java/C code except for the the last native method   public static native MemoryInfo GetSystemMemoryInfo(); . I get a NoClassDefFoundError when I try to use this method. I have a feeling that I'm just doing something stupid.
    Thanks in advance,
    John

    Yes, exactly. I changed the name of that class and forgot to change it in the c code. Thanks for the feedback.
    Also, if anyone is using this code as an example, you need to change "agent.win32.MemoryInfo" to "agent/win32/MemoryInfo" in the c code. If it is left as "agent.win32.MemoryInfo" you will get a ClassCircularityError when trying to make multiple calls to the NIMSNT.GetSystemMemoryInfo();.

  • Loading and viewing XML when a class object is created..Help Please

    Hello,
    I have writing a simple class which has a method that gets invoke when the object of the class is created. I am able to view the loaded XML content when I trace it with in my class method, but cannot assign the content to a instance variable using the mutator method. So the process goes like this:
    Class object is instantiated
    Class construtor then calls the loadXML method which laods the XML
    And then assigns the XML to a class instance variable.
    So now if I would like to access the loaded XML through class object, I should be able to see the loaded xml content which I am not able to see. I have spent over few hours and cannot get the class object to display the loaded XML content. I would highly appreciate it if someone can help in the right direction, please.
    [code]
    package com.as3.app
        import flash.display.*;
        import flash.events.*;
        import flash.text.*;
        import flash.net.*;
        public class Cars extends MovieClip {
               public var _CarList:Object;
               public function Quiz()
                  super();
                  loadCars();
    // ===========================================================
    //           CARS GETTER SETTER
    // ===========================================================
            public function set Cars(val:XML):void
                this._CarList = val;
            public function get Cars():XML
                return this._CarList;
    // ===========================================================
    //            LOAD QUESTIONS FROM XML
    // ===========================================================
            public function loadcars()
                var myXML:XML;
                var myLoader:URLLoader = new URLLoader();
                myLoader.load(new URLRequest("xml/cars.xml"));
                myLoader.addEventListener(Event.COMPLETE, processXML);
                function processXML(e:Event):void
                    myXML = new XML(e.target.data);  
                    Cars = myXML;                 // Assigning the loaded xml data via mutator method to the _CarList;
    //=============================================================  
                                  INSTANTIATING THE CLASS OBJECT
    //=============================================================
    package com.as3.app
        import flash.display.*;
        import flash.events.*;
        import flash.text.*;
        import flash.net.*;
        import com.as3.app.*;
        public class DocumentClass extends MovieClip {
            public var c:Car;
            public function DocumentClass()
                super();
                c = new Cars();  
                trace(c.Cars);
    [/code

    where you have:
                super();
                c = new Cars();  
                trace(c.Cars);
    c.Cars will not trace as the loaded xml, because it will not have loaded in time. After some time it should presumably have the correct value.
    loading operations in actionscript are asynchronous, so your nested function which is acting as the listener ( function processXML(e:Event):void) only ever executes when the raw xml data has loaded and that is (I believe, not 100% sure) always at least one frame subsequent to the current one.
    In general I would consider it bad practise to use nested functions like that, but I don't think its contributing to your issues here. I think its just a timing issue given how things work in flash....
    Additional observation:
    your Cars constructor calls loadCars() and your loadCars method is defined as:
    public function loadcars()
    I assume its just a typo in the forum that the uppercase is missing in the function name....

  • NoClassDefFoundError when passing HttpSession

    Hello All,
    I am getting a NoClassDefFoundError when I start my rmi server.
    I am pass an HttpSession as one of the variables of my rmi call.
    Everything worked fine until I added the HttpSession variable.
    Why do I get this exception ?
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/Ht
    tpSession
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
            at java.lang.Class.privateGetPublicMethods(Class.java:2519)
            at java.lang.Class.getMethods(Class.java:1406)
            at sun.rmi.server.Util.getRemoteInterfaces(Util.java:221)
            at sun.rmi.server.Util.getRemoteInterfaces(Util.java:193)
            at sun.rmi.server.Util.createProxy(Util.java:126)
            at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:169)
            at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
            at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:235)
            at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:133)
            at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:119)
            at pE.PEg.<init>(PEgImpl.java:36)
            at pE.PEgServer.<init>(PEgServer.java:10)
            at pEngine.PEgServer.main(PEgServer.java:18)If I add server2_2.jar to my class path, then I get this exception:
    java.rmi.ServerError: Error occurred in server thread; nested exception is:
            java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionWhile were at it, let me ask this: My RMI implementation code has some data that it needs to pass to my servlet that is invoked by an third-party server. I due to the sensitive nature of the data, I don't want to stick it in a DB, but pass as session variables, thus I was passing in the session var. A better way to do this?
    Edited by: jimcsc on Aug 29, 2008 9:58 AM

    I am getting a NoClassDefFoundError when I start my rmi server.That will be because either the server or the Registry or the client doesn't have the class named in the exception in its CLASSPATH.
    I am pass an HttpSession as one of the variables of my rmi call.Are HttpSessions really serializable? This sounds like a very odd design.
    While were at it, let me ask this: My RMI implementation code has some data that it needs to pass to my servlet that is invoked by an third-party server. I due to the sensitive nature of the data, I don't want to stick it in a DB, but pass as session variables, thus I was passing in the session var.There's something wrong with that description. It seems to me that it is the servlet passing the HttpSession to your RMI server, not the other way around. Assuming the HttpSession implementation is serializable it should work but it's still an odd design. I would get the stuff that you actually need out of the HttpSession and pass that.

  • Exception in thread main java.lang.NoClassDefFoundError when Install 11g 2

    Exception in thread main java.lang.NoClassDefFoundError when Install Oracle database 11g release 2 on redhat linux enterprise 5
    My Java Version is 1.6.0_13-b03, can anyone help?
    Error Message as follows:
    准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2009-12-01_11-25-58AM. 请稍候...[oracle@redhatlinux ~]$ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

    I am getting the same exception. I tried using xhost_+ but it's still not working for me.
    Again, here is the error that I'm receiving when trying to install Oracle 11g:
    Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    Thanks in advance for the help!!
    Also, this is all very new to me. So if you could provide a step-by-step answer I would really appreciate it.
    Edited by: user9014123 on Jan 25, 2010 1:40 PM

  • Getting Error :Error when instantiating WebService runtime

    Hello All,
                  I am a new to Webservices and writing a test program .I am using the ECC 5.0 .I am calling a Webservice from R/3 .I am  trying to call this webservice  :[http://webservices.daehosting.com/services/isbnservice.wso?WSDL].
    I am getting the following exception
    {<?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
      <SYSTEMFAULT href="#o68" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <cls:CX_AI_SYSTEM_FAULT id="o68">
    - <CX_ROOT>
      <TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>
      <PREVIOUS href="#o55" />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>191</PROGID>
      <CONTID>558</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating WebService runtime (Error when initializing SOAP client application )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    - <cls:CX_XMS_SYSERR_PROXY id="o55">
    - <CX_ROOT>
      <TEXTID>3F829CAF9A45633CE10000000A155117</TEXTID>
      <PREVIOUS />
      <KERNEL_ERRID />
    - <INTERNAL_SOURCE_POS>
      <PROGID>0</PROGID>
      <CONTID>0</CONTID>
      </INTERNAL_SOURCE_POS>
      </CX_ROOT>
      <CX_STATIC_CHECK />
    - <CX_XMS_SYSTEM_ERROR>
      <ID>ERROR_WEBSERVICE_RUNTIME_INIT</ID>
      <P1>Error when initializing SOAP client application</P1>
      <P2 />
      <P3 />
      <P4 />
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
      </asx:heap>
      </asx:abap>}
    This is what i have given in LPCONFIG Tcode
    LPCONFIG->General setting-> Call parameters->
    URL->http://webservices.daehosting.com/services/isbnservice.wso?WSDL
    Please help out what I am missing here
    Thanks
    Krishna

    I had the same error, while implementing a new client webservice.
    The Error ERROR_WEBSERVICE_RUNTIME_INIT was in my case solved by:
    1. regenerating the CL_SOAP_APPLICATION_CLIENT class.
    and
    2. deleting the LPCONFIG setting and creating a new one.
    Edwin.

  • NoClassDefFoundError when using URLClassLoader

    Hi,
    I have an applet which tries to load a jar file dynamically. I am giving the code snippet here.
    loader = new URLClassLoader(new URL[] { new URL("http://localhost:4095/jars/dynamicload.jar") });
    m_class = loader.loadClass("loader.DynamicLoadedClass");
    (loader.DynamicLoadedClass) prntr = (loader.DynamicLoadedClass) m_class.newInstance();
    But this is throwing a NoClassDefFoundError when I try to cast the new instance to a DynamicLoadedClass.
    Can anybody help me correct this problem?
    Thanks
    Unni

    It will be happening when your code tries to access loader.DynamicLoadedClass for the cast. When a class accesses another class implicitly it asks the ClassLoader that loaded it for the class. That will presumably be the standard class loader that points to the classpath, and knows nothing about your dynamically loaded class.
    Really if you mention a class to the compiler then there's no point in trying to load it dynamically, since you must already have it locally to do the compilation.
    Usually you know that an dynamically loaded class will conform to some abstract class or interface you have locally, and you cast the new instance to that. That works because standard classloader delegation means your URLClassLoader will take classes from the class path if they are there.

  • CX_SHM_EXTERNAL_REFERENCE exc. when passing Class instance to Shared memory

    Hi all,
    when setting up the writing to a shared memory (using the SHMA and SHMM transactions), we get an exception mentioning CX_SHM_EXTERNAL_REFERENCE
    This problem is raised because we are trying to move an instantiated class from the calling development to the Shared memory class.
    Therefore, this exception is raised, the sap standard documentation tells me:
    "There are still references from the current area instance version to a different area instance of the shared objects memory, or to the internal session."
    How can we work around this problem, I really want to pass the instantiated class to the Shared memory?
    Thanks in advance for any help,
    Pascal Decock

    My problem is that I would like to embed a Standard SAP class into this shared memory.
    Therefore, I'm obliged to accept the 'Create object' references that are written in standard SAP code.
    That also means that it is impossible to include an instantiated SAP class into a shared object memory?

  • Cfobject - An exception occurred when instantiating a COM object

    I'm getting the following error:
    An exception occurred when instantiating a COM object.
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed.
    1 :
    2 : <cfscript>
    3 :     oLoader = CreateObject("com", "easyPDF.Loader.6");
    4 : </cfscript>
    This is on a dedicated server with 64bit Windows Server 8 and 64bit ColdFusion 9.  easyPDF is a program that will convert files into PDF on the server, it is also the 64 bit version.
    I'm not even trying to do anything but load the object and am getting the error.  I took a peek inside the registry and searched for "easyPDF.Loader" and it was found.
    Any ideas what could be going wrong? Is there something I need to do with the CF setup or IIS to get this working?  It gives the same error with the following line of code as well.
    <cftry>
        <cfobject type="com" action="connect" class="Word.application" name="this.wordCom" context="local">
        <cfcatch>
            <cfobject type="com" action="create" class="Word.application" name="this.wordCom" context="local">
        </cfcatch>
    </cftry>
    Any help or guidance would be great.  Is there a basic <cfobject type="com"> that should work on ANY computer without installing something that I could use to test?
    Thanks!

    Just to give everyone some closure in this matter:
    I've opened a case with Adobe Support. Their reply was:
    COM interoperability with CF9 is not supported on 64 bit Windows OS. This is due to the limitations imposed by JIntergra. You can find a reference for this in the following tech-note:http://helpx.adobe.com/coldfusion/kb/coldfusion-limitations-running-coldfusion-64.html
    It seems that J-Integra (http://j-integra.intrinsyc.com/support/kb/article.aspx?id=30963) won't update their code libraries for 64-bit support due to lack of customer demand for this functionality. Mind you this is the newest technot I could find on the matter but it was last update in 2010. I've also emailed j-Integra sales (http://j-integra.intrinsyc.com/contact.asp) to inquire about any progress in porting over their libraries to 64-bit. Who knows, if they get enough requests...
    I will now try to access my COM libraries from a .NET dll and call it using cfexecute.

  • Linkage error occurred when loading class MyClass

    Hi
    I have written one simple class name MyClass and i have created jar file and i imported into import archive... but in interface mapping while i am testing i am getting the <b>"<b>Linkage error occurred when loading class MyClass"</b></b> error.... why i am getting this error
    Thanks & Regards
    Ravi Shankar B

    Here it goes:
    Symptom
    The LINKAGE_ERROR error occurs during the mapping.
    The trace contains "java.lang.NoClassDefFoundError: Illegal name":
    Other terms
    XI 30, Mapping, Linkage Error
    Reason and Prerequisites
    As of the jdk 1.4.2_05 from Sun, this program error occurs during the mapping in the runtime or during testing in the Repository. This error may also occur in conjunction with jdks of other vendors or other versions.
    Solution
    The error is corrected with Support Package 5 for Support Package 03 for the XI TOOLS 3.0 software component.
    Import the corresponding archive SAPXITOOL03P_5.SCA for SAP Exchange Infrastructure XI 3.0 as described in the Netweaver 04 Support Package Stac Guide.
    You will find the archive and the guide in the SAP Service Marketplace under the alias "SP stacks -> SAP NetWeaver -> SAP NetWeaver 04".
    Regards
    Vijaya

  • Exception in thread "main" java.lang.NoClassDefFoundError c:\MyClass/class

    i compile my java programm by typing javac c:\MyClass.java, i have 0 errors. But when i try to run the class file by typing java c:\MyClass.class i have this exception : Exception in thread "main" java.lang.NoClassDefFoundError c:\MyClass/class
    what is wrong please?

    what is wrong please? First, wrong forum. See the " New To Java Technology" forum.
    Second, you run classes not files (as the previous poster pointed out.)

  • NoClassDefFoundError when using ServerErrorListener

    Hi,
    I've got a java-programm using JCo 2.1.6. I wrapped up this programm with the jsl-tool to use that programm as a windows service. Now the connection process stands still when calling addClientPool. Therefore i tried to implement the ServerErrorListener and ServerExceptionListener to check whether I got further information because when I'm running that programm directly all is working well. Now I'm getting a NoClassDefFoundError when starting the programm. I'm a little bit buzzeled what's wrong. What jars do I need to get both listeners?
    Thanks
    Markus

    Hi Markus,
    Both exceptions are located in the jrfc.jar file.
    It can also be the case that one of the exception classes needs another class which is located in another jar, if you get my point. For that you should have a really close look at the log file, what is really causing the noclassdeffounderror.
    Kind regards,
    Peter

  • An exception occurred when instantiating a COM object

    I have installed ColdFusion 9.1 on a 64-bit server running Windows 2008 R2.  I am using IIS 7.5.
    When I try to access the following URL http://localhost/myhousing/security/login_admin.cfm I get the following error.  Is there a patch available for CF 9 to resolve this error?
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes. 
    Error Occurred While Processing Request 
    An exception occurred when instantiating a COM object. 
    The cause of this exception was that: java.lang.RuntimeException: Can not use native code: Initialisation failed. 
    The error occurred in C:/inetpub/wwwroot/MyHousing/Application.cfm: line 22
    20 : <CFINCLUDE template="lib/housing_functions.cfm">
    21 : <CFSET Application.obj_name = "UserInfo325DLL.UserClass">
    22 : <CFOBJECT name="obj" action="create" type="com" class="#Application.obj_name#">
    23 : <!------------------------------------------------------------------->
    24 : <!--- END OF CONFIGURATION FILE --->
    Resources:
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser   Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
    Remote Address   ::1
    Referrer   
    Date/Time   08-May-13 01:49 PM
    Stack Trace (click to expand) 
    at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22) at cfApplication2ecfm293894775.runPage(C:/inetpub/wwwroot/MyHousing/Application.cfm:22)
    java.lang.RuntimeException: Can not use native code: Initialisation failed
    at com.linar.jintegra.NativeObjRef.<init>(Unknown Source)
    at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
    at com.linar.jintegra.Dispatch.<init>(Unknown Source)
    at com.intrinsyc.typeInfo.IMacroViewerProxy.<init>(IMacroViewerProxy.java:32)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:90)
    at com.intrinsyc.typeInfo.MacroViewer.<init>(MacroViewer.java:69)
    at com.intrinsyc.typeInfo.InterfaceInfoFactory.getInfoGivenPROGID(InterfaceInfoFactory.java: 50)
    at coldfusion.runtime.com.ComProxy.<init>(ComProxy.java:114)
    at coldfusion.runtime.com.ComProxyFactory.getProxy(ComProxyFactory.java:41)
    at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
    at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4947)
    at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)
    at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
    at cfApplication2ecfm293894775.runPage(C:\inetpub\wwwroot\MyHousing\Application.cfm:22)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
    at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
    at coldfusion.CfmServlet.service(CfmServlet.java:200)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    Let's narrow down the problem by substituting the variable with the value directly on the cfobject tag.
    <CFOBJECT name="obj" action="create" type="com" class="UserInfo325DLL.UserClass">
    ... and see if that works.
    Another thing you might want to check if this is correct, UserInfo325DLL.UserClass.

Maybe you are looking for

  • How do I add multiple pages from my scanner to the adobe app?

    How do I add multiple pages from my scanner to the adobe app?

  • Mavericks using too much ram ?

    Hy guys i have a doubt, in on macbook pro 17" late 2011 2.4ghz 16gbram ddr3 1600mhz, core i7 + ATI 1gb now im just with safari opened with 3 tabs and the memory clean show i have just 9.68ram avaiable, i read in another post a line command the i was

  • Guide layer stops working when I change a movieClip

    Hey all, So I have a few things moving along a common guide layer. There are 7 objects, and depending on what is happening on screen, i want to have some of the objects appear and disappear. I have all of the objects _alpha set to 0, but when somethi

  • Nokia 701 - touchscreen left edge sometimes not wo...

    Hi guys! I bought brand new Nokia 701 recently in Malaysia, there were three language available: english, and two chinese, with an old Belle OS, then i upgraded manually to SP 1, i used firmware (Belle Feature Pack 1 v112.010.1404) with 5-6 europian

  • Ext USB interface... adobe 3.0 still lags and drops

    It's killing me! I have a brand new laptop, with Vista, 4GB ram, (average sound card, I know) with and new External USB sound card/interface (tascam to be exact). However, even after recording a couple of tracks, no more than 30 seconds long, adobe s