JVM and WSAD

friends
i am trying to run a program to test out my project(s) the main class has no compile errors as such but never runs and fails with the following message
java.lang.NoClassDefFoundError: com/companyname/testdriver/services/TestClass
Exception in thread "main"
However if I have a main class in someother project of the same workspace it works fine. can some one throw some light on why this behaviour?
Thanks in advance
Sriram

never mind i have resolved the issue seems to be that WSAD was giving mis-information and hence the problem.

Similar Messages

  • Which JVM and APIs are better for Palm application development

    Hi All,
    Any body tell me which JVM and APIs are better for palm device application development. A want to create a good GUI based application on Palm.
    Please suggest me.
    Thanks
    Jack

    hi jack...
    You can use ibm's wsdd(websphere device developer) as plugin to wsad(websphere application developer) for developing web applications which can be run on palm devices. It uses j9(ibm's implemention of jvm).
    thanks...

  • CIS 8.0.0 and WSAD 5.1.2 (Websphere Server Application Developper)

    Hello, I'm trying to deploy CIS Server 8.0.0 inside Webphere Server Application Developper 5.1.2 running a Websphere Applcation Server 5.1
    I'm deploying it following the cis-intallation-guide but the can't manage to start the server.
    I got a stacktrace containing the following (I can't do a copy/paste and it's not in english originally so i tried to translate)
    -Starting application CIS Server 8.0.0
    -Preparating start of JAR of EJB : cis-framework-ejb-8.0.0.jar
    -Class provide by user "com.stellent.cis.client.command.ejb.configuration.EJSStatelessCommandConfigurationEJBHomeBean_5784139" ask by enterprise bean could'nt be loaded or detected.
    -Unale to prepare the jar cis-framework-ejb-8.0.0.jar [class ........
    java.lang.classNotFoundException: com.stellent.cis.client.command.ejb.configuration.EJSStatelessCommandConfigurationEJBHomeBean_ffa5a795
    I think it's really strange to have have one time "EJSStatelessCommandConfigurationEJBHomeBean_5784139" which exist inside jar file and one time "EJSStatelessCommandConfigurationEJBHomeBean_ffa5a795" which don't exist inside jar file.
    Could someone help ?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi ,
    Try by placing the path of the jar file of the CIS in the classpath of the WAS and WSAD as well. Let me know if that works.
    Thanks
    Srinath

  • Stats : Finding # of objects on each partition, JVM and the cluster

    How can i find out the total number of objects on each partition, each JVM ( sum of total num of objects on each partition on that JVM) and the total number of objects on the complete cluster.
    I am using partition affinity and want to find out if all my objects are distributed evenly.
    Any insight on this would be helpful.
    Thanks
    - G.

    You can have some control to have totally even distribution among partitions if you know an algorithm which partitions all your keys to partitions evenly and implement that with a KeyPartitioningStrategy and KeyAssociation/KeyAssociator.
    However, totally even distribution between nodes is practically impossible, because you will never have the same number of partitions in every node, as the number of partitions should be a prime number which is larger than the number of nodes (it must be chosen to be a prime number larger than the number of nodes squared), therefore the number of nodes will never evenly divide the number of partitions.
    Best regards,
    Robert

  • Oracle JVM and Operating System JVM different?

    Are Oracle JVM and Operating System JVM different?
    For applying the DST patches if JVM is updated from OS patches do we need to apply any other jvm patches again?

    Hi,
    Yes, the OracleJVM is embedded in the RDBMS kernel and does not share any reference/components with the JDK (i.e., OS JVM); fwiw, you can learn more about OracleJVM (archtecture, memory management, security, threading, performance) in chapter two of my book.
    Regarding the DST patch, there is an RDBMS patch that should cover OracleJVM as well; Re: How to verify if the DST patch applied correctly or not.
    Kuassi http://db360.blogspot.com

  • Query weblgoic runtime JVM and thread that carry the user credential

    Hi there,
    So far as I know, weblogic keeps track of user credentials from
    different JVM and different thread. However, for the same thread within
    same JVM, weblogic only keep on user credential in the EJBContext. So,
    is there any way or any API for me to query the JVM and thread that
    carries the user credential? My purpose is to prevent second login from
    the same JVM in the same thread.
    Thanks,
    Cathy

    Hi there,
    So far as I know, weblogic keeps track of user credentials from
    different JVM and different thread. However, for the same thread within
    same JVM, weblogic only keep on user credential in the EJBContext. So,
    is there any way or any API for me to query the JVM and thread that
    carries the user credential? My purpose is to prevent second login from
    the same JVM in the same thread.
    Thanks,
    Cathy

  • Downloaded and Installed IBM Websphere JVM and my Palm T/X keeps restarting (Soft Reset)

    Someone please help me with this software. I found and downloaded this JVM and my palm resets itself (Restart) everytime I open the icon.
    Post relates to: Palm TX

    There probably is a problem with your software.
    Post relates to: Palm m505
    webosnation.com is another option for help.

  • What is jvm and how we wil drawn that diagram?

    what is jvm and how it works .

    Wow! Such a simple question. Much has been published on this, I suggest you start with Google.

  • Urgent!! PB write a program in C/C++ who start a JVM and invoke a method ja

    I try to write a program in C/C++ who start a JVM and invoke a method java.
    my program run fine if in my essai method, i do't call the JNI method ierror().
    but when i call the ierror() there's a bug :
    enter in essai
    Exception in thread "Thread-0" java.lang.AbstractMethodError
    at prog.Prog.client(Prog.java:12)
    what's wrong???
    Thanks for your help.
    // Prog.java
    package prog;
    import testnative.jAppEngine;
    public class Prog extends jAppEngine
         public void main (String[] args)
         public void essai();
              System.out.println("enter in essai");
              ierror();
              System.out.println("quit essai");
    // jAppEngine.java
    public class jAppEngine
         public native void ierror();
         static
              System.loadLibrary("jEngine");
    // jEngine.cpp (my jEngine.dll)
    * Class: testnative_jAppEngine
    * Method: ierror
    * Signature: ()V
    JNIEXPORT void JNICALL Java_testnative_jAppEngine_ierror
    (JNIEnv *env, jobject jobj) )
         ierror( "Dans jAppEngine.ierror");
    // Application.cpp
    JavaVM *vm = 0;
    int startJVM( )
    char *s = 0;
    int ret;
    jboolean jvmspecified = JNI_FALSE; /* Assume no option specified. */
    char jrepath[MAXPATHLEN], jvmpath[MAXPATHLEN];
    int i, knownVMsCount;
    /* If we got here, jvmpath has been correctly initialized. */
    ifn.CreateJavaVM = 0;
    ifn.GetDefaultJavaVMInitArgs = 0;
    if (!LoadJavaVM(jvmpath, &ifn))
         return 6;
    /* Set default CLASSPATH */
    if ((s = getenv("CLASSPATH")) == 0)
              s = ".";
    SetClassPath(s);
    /* Initialize the virtual machine */
    if (!InitializeJVM(&vm, &env, &ifn))
         fprintf(stderr, "Could not create the Java virtual machine.\n");
    ret = 1;
    return ret;
    int LaunchClass( char classname, char jentry, void *p )
    int retval;
    jclass mainClass;
    jmethodID mainID;
    JNIEnv *env;
    retval = vm->AttachCurrentThread((void **)&env,NULL);
    jcls = LoadClass(env, classname);
    /* Get the application's main method */
    mainID = env->GetMethodID( mainClass, jentry, "()V");
    /* Invoke main method. */
    env->CallVoidMethod( mainClass, mainID); //, mainArgs);
    if ((*vm).DetachCurrentThread() != 0)
         fprintf(stderr, "Could not detach main thread.\n");
    return ret;
    static void th1(void *p)
         LaunchClass( "prog.Prog", "client", NULL);
         _endthread();
    int main(int argc, char* argv[])
         startJVM();
         Beep(6000,500);
         for (int i=0; i<1; i++)
              _beginthread(&th1,0,&i);
              Sleep(500);
         return 0;
    }

    Hi! bschauwe
    Thanks for reply.
    My native method called ierror calls effectively a subroutine who's in another dll. I change the name of my native method, no effects always the same error message.
    So, in my native method I replace ierror(...) by Beep(..) and it's the same.
    I don't understand.

  • No of jvm  and port

    Hi,
    how to find the number of jvm and port number in oracle apps(11.5.10).
    how to increase that.why jvm is increased?

    Hi,
    You can get that from the application context file.
    For JVM, please see these documents/links.
    Note: 362851.1 - Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12
    Note: 462550.1 - Generate JVM heap dump in E-Business suite 11i and R12
    jvm engine
    jvm engine
    Regards,
    Hussein

  • Difference between JVM and JRE

    Hi,
    can anyone tell me if there is a difference between a JVM and a JRE?
    I'm trying to use Excelsior JET to make windows executables from java classes. The documentation says that with JET you dont need the JVM but reading between the lines I think you do still need the Java JRE.
    Are these different or the same thing?
    Cheers,
    Jim

    JRE = JVM + classes and libs.

  • Difference Between Sun JVM and IBM JVM

    Hi
    Can some one let me on the difference between Sun JVM and IBM JVM
    regs
    Vivek Nidhi

    Sun's JVM is built on HotSpot technology: http://java.sun.com/docs/hotspot
    and covers a broad range of OS/HW combinations: http://java.sun.com/j2se/1.5.0/system-configurations.html
    Maybe you can be more specific in your question or in describing what you want to do.
    -Alexis

  • What is the difference between JRE,JVM and JDK?

    plz reply me to the following question
    (1)what is JRE,JVM and JDK?

    The JRE is a java distribution for running java programs. It does not contain the development tools needed to compile and debug java programs.
    The JDK is a java distribution for both running and developing java programs. In includes the deveopment tools.
    The JVM is part of both the JDK and the JRE. It is the 'engine' that executes java bytecodes, performs garbage collection and does just-in-time compilation.
    HTH

  • Draggable window only works in MS JVM, and not Sun?

    Hello all,
    Our applet needs to support the MS JVM (and therefore Java 1.1). I have been looking to create a draggable Window to replace a Frame that we have since we want the frame to be 'undecorated' (no minimize button, etc). I found some code on this forum to create a draggable window which works fine. But, I would like to create my own title bar on the Window and only have that draggable. When I add the same listeners to the Label instead of the Window itself, the dragging no longer work so well in the Sun JVM, while it works fine in the MS JVM. The problem I am seeing is that if I don't drag slowly it skips, or doesnt drag. Note, I am only seeing this when adding the drag listeners to the Label in the Window, but this works fine when the listeners are on the Window itself. Also, this works fine in the MS JVM. Any ideas? For example, the code below is what has the issue in Sun JVM, but if I replace the 'title.' to 'this.' on the 2 listeners adds, I can drag the window fine in Sun JVM.
    Thanks for you help,
    Aaron
    public class TestWindow extends Window {
            Label title;
            int width=300;
            int height=300;
           Point origin = new Point();
            TestWindow() {
                super(new Frame(""));
                this.setBackground(Color.blue);
                title = new Label("Draggable window");
                title.setBackground(Color.gray);
                //setLayout(new BorderLayout());
                add(title, BorderLayout.NORTH);
                title.addMouseMotionListener(new MouseMotionAdapter() {
                    public void mouseDragged(MouseEvent e) {
                        Point p = getLocation();
                        setLocation(p.x + e.getX() - origin.x,
                                    p.y + e.getY() - origin.y);
                title.addMouseListener(new MouseAdapter() {
                    public void mousePressed(MouseEvent e) {
                        origin.x = e.getX();
                        origin.y = e.getY();
                this.setSize(width, height);
                this.show();
        }

    Sorry, I didn't read your post carefully the first time.... My suggestion would be to add listeners to both the label and the window, although that would make the whole window draggable. To nullify that effect, you'd have to put another component in the main part of your window (Like a JPanel if you could use Swing) and have it eat up any mouse dragged/clicked events that it receives.

  • Differences between Sun JVM and Microsoft JVM.

    Differences between Sun JVM and Microsoft JVM.
    I have a very simple applet that I am trying to make compatible with both Microsoft�s JVM and Suns JVM in Internet Explorer.
    However, when I turn on the Sun JVM it works occasionally, but frustratingly on most occasions I get the following error messages:
    In the status bar: "Applet <name> notinited"
    And when I investigate further in the console I get the following output:
    load: class <name>.class not found.
    java.lang.ClassNotFoundException: <name>.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Malformed reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
         at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    It appears that the applet never gets loaded. I have no idea why?
    What is the Sun JVM doing here?
    Many thanks in advance for any help.

    Oh, one more thing. Here's the outpt of the VM log when I run the test above:
    Java(TM) Plug-in: Version 1.4.2_03
    Using JRE version 1.4.2 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Michael
    Proxy Configuration: No proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NullPointerException
         at sun.plugin.cache.Cache.updateTable(Unknown Source)
         at sun.plugin.cache.FileCache.getMatchingFile(Unknown Source)
         at sun.plugin.cache.CachedFileLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.cache.CachedFileLoader.getCacheFile(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    v

Maybe you are looking for

  • Fixed Assets Mid-Month rule using non-calendar fiscal months.

    Our fiscal year variant is year dependent with twelve posting periods.  For example, period 11 for fiscal year 2007 is defined as 29-Oct-07 through 25-Nov-07 and period 12 is defined as 26-Nov-07 through 31-Dec-07. Fixed Asset depreciation keys MSTL

  • How To Handle Error Message In TCD Recording?

    Hi All,   I tried recording a transaction (my own transaction) by not enterring value in an obligatory field. the error message came. but when i executed the script, it showed an error. but actualy, the error message was expected right? how to handle

  • XML - Making use of Parsed Contents

    Hi all, i would like to know how i can make use of XML data - gotten from a URL as a data stream- which i parsed using the SAX parser.... code looks something like this: DefaultHandler handler = new indexParser(); SAXParser saxParser = SAXParserFacto

  • Windows 8 Eats battery compared to Windows 7

    Hi ,  I used Windows 7 for more than a year , it gave me about 2:30 Min in my laptop. When i installed windows 8 , after 2 months when i try to plug out my laptop from power the battery gets low after 5 min , i though battery need to be replaced but

  • Premiere Pro, MacPro late 2013, AMD Fire Pro 500, editing timeline screen-freeze out.

    Adobe Premiere Pro software and my new MacPro with AMD 500 FirePro will not play nice together. Just for the record, I recently purchased two MacPro Late 2013, 6-core, 16GB, AMD FirePro D500, running OS X 10.9.5 systems. We now edit in Premiere Pro t