Downloading Java Swing app that will access EJB

From: JW (jkpangtang_at_yahoo.com)
Date: 09/22/04

  • Next message: IchBin: "Re: How to ignore Eclipse package check?"
    Date: 21 Sep 2004 18:35:05 -0700
    
    

    I have a Java swing application that accession EJB's deployed on
    a Weblogic 8 server.

    I've been trying to "bundle" that swing app in a .jar
    so that it can be downloadable from a website using Java Web Start.
    This .jar file includes the classes from weblogic.jar as well
    as my application classes.

    I create the jar, and I include that jar in a .ear file.
    I deploy that .ear file on my Weblogic server.

    I go to a browser, and access my .jnlp file.
    Web Start downloads the .jar file, however the console output
    shows the following error (i'll show generic classnames):

    java.lang.ClassNotFoundException: mypackage.myclass_whd532_HomeImpl_813_WLStub
            at com.sun.jnlp.JNLPClassLoader$1.run(Unknown source)
            at java.security.AccessController.doPrivileged(Native Method)
            ....

    Now, I have limited knowlodge J2EE apps and Weblogic.
    My understanding is that WLStub classes are generated dynamically.

    Does anyone know how to fix this error, or
    another method for me to "distribute" a rich client that needs
    to access ejb's?

    Thanks


  • Next message: IchBin: "Re: How to ignore Eclipse package check?"

    Relevant Pages